upstream: [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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:32 +0000 (11:55 +0900)
commit25299067e9ab79770ddd980436795d846836677c
tree1ab56ca2ca621e1dfe7decc49a8fedf49d46aa57
parentf773e87d27324b1fca7b4372deae4c82c0530892
upstream: [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