upstream: [media] adv7842: Disable access to EDID DDC lines before chip power up
authorMartin Bugge <marbugge@cisco.com>
Wed, 19 Mar 2014 09:43:45 +0000 (06:43 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:33 +0000 (11:55 +0900)
commite6c234d9ca05c1c2139ed362a86a6d926e9d029c
treed1aa65057f58445e59864e6208aa90f0b210c416
parentc27d418c18cf9d1bef514b4ca9feca60a705011a
upstream: [media] adv7842: Disable access to EDID DDC lines before chip power up

In core_init make sure access to EDID DDC lines are disabled
before chip is powered up. Also DISABLE_AUTO_EDID before power up.
The correct setting is applied later when setting the EDID.
Some sources (MAC) kept on reading EDID even when Hotplug was low
and in the short period in core_init before the DDC lines was enabled
read a corrupt EDID.

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