[media] adv7842: corrected setting of cp-register 0x91 and 0x8f
authorMartin Bugge <marbugge@cisco.com>
Tue, 10 Dec 2013 14:01:00 +0000 (11:01 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 08:21:30 +0000 (06:21 -0200)
commit6251e65f1ba6c1f4e461a1d97735812165c4499d
treefea5ea3e3fe30bab3079762a856aff42b2898a22
parente78d834a2e39e86d733fdca41fc931dc5ecc4660
[media] adv7842: corrected setting of cp-register 0x91 and 0x8f

Bit 6 of register 0x8f was cleared incorrectly (must be 1), and bit 4
of register 0x91 was set incorrectly (must be 0).

These bits are undocumented, so we shouldn't modify them to values different
from what the datasheet specifies.

Signed-off-by: Martin Bugge <marbugge@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