[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 07:28:06 +0000 (05:28 -0200)
commita6c98f56e7f4a46358ea4b10f40df419f9679e37
tree17fc8ccbb35522a3e8f8ecdca2a50f7f10ae2019
parent51af70bf93592c51d1ed8db421bb6cce8a9aed2d
[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