[media] vivid-tpg: don't add offset when switching to monochrome
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 7 Mar 2015 15:53:39 +0000 (12:53 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 23:32:58 +0000 (20:32 -0300)
commit9c35bd48d54345b2c89426dd2efdb33adaa0aac3
treedb6490e9fe8ce7d20bba5524ec43831d55c74c16
parent1a05d3133f826c9578986d9ec6ffab64ced62a03
[media] vivid-tpg: don't add offset when switching to monochrome

The grayscale values are still full range sRGB, so don't add the
limited range offset.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-tpg.c