drm: bridge: sii8620: retry hw reset with i2c failure 74/86274/2
authorJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 31 Aug 2016 09:17:48 +0000 (18:17 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 1 Sep 2016 00:26:50 +0000 (09:26 +0900)
commit0cc87c9b575c07a8cc8c2308746959130daf2e5b
treed1af93fe47fb47478a6759ef05784bfb6c8e8633
parent7ce81891422226fdc97062e079cdf67cde378114
drm: bridge: sii8620: retry hw reset with i2c failure

With specific targets, sometimes(almost) i2c read is failed when hdmi
cable is plugged.

[  341.285875] sii8620 7-0039: I2C read of [0x0000] failed with code -6.
[  341.286149] sii8620 7-0039: Error accessing I2C bus, -6.

Retry hw reset operation of sii8620 mhl if i2c read is failed then can
do normal i2c operation. This solution came from android kernel.

Change-Id: Icf9f54eb941e3ac5a8728fb9552b51928578d508
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/gpu/drm/bridge/sii8620.c