upstream: [media] ad9389b: retry setup if the state is inconsistent
authorMartin Bugge <marbugge@cisco.com>
Tue, 10 Dec 2013 12:00:05 +0000 (09:00 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:52:48 +0000 (11:52 +0900)
commit42558899ef3d8035cdcb871024f2b13a0a877cfd
tree80ec78891c5ce1401902684ad26f2be7c7556e3e
parentb4db27850feb68604c196927ac2018b5d3bab3a0
upstream: [media] ad9389b: retry setup if the state is inconsistent

Retry setup if the device is powered off when it should be powered on. This
state can be caused by rapid hotplug toggles.

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/ad9389b.c