[media] adv7842: adjust gain and offset for DVI-D signals
authorMartin Bugge <marbugge@cisco.com>
Fri, 24 Jan 2014 13:50:03 +0000 (10:50 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Feb 2014 11:55:55 +0000 (09:55 -0200)
commit933913da020d0a6099e00fbb652fb682996fba45
tree9f748d41dd3e9fcd3d754a43232f4405f7d24972
parent7c869651455d456af943c88797de3fcff44ecfde
[media] adv7842: adjust gain and offset for DVI-D signals

If the input signal is DVI-D and quantization range is RGB full range,
gain and offset must be adjusted to get the right range on the output.
Copied and adopted from adv7604.

Signed-off-by: Martin Bugge <marbugge@cisco.com>
Cc: Mats Randgaard <matrandg@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7842.c