[media] adv7842: increase wait time
authorMartin Bugge <marbugge@cisco.com>
Thu, 5 Dec 2013 14:56:32 +0000 (11:56 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 08:31:19 +0000 (06:31 -0200)
Wait 5ms after main reset. The data-sheet doesn't specify the wait
after i2c-controlled reset, so using same value as after pin-controlled
reset.

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

index 86db9fca77f6fa8706f6c62bea686555b3aa9e2b..f16437ceed4a1d48a2596cc9334cb8998307ca48 100644 (file)
@@ -533,7 +533,7 @@ static void main_reset(struct v4l2_subdev *sd)
 
        adv_smbus_write_byte_no_check(client, 0xff, 0x80);
 
-       mdelay(2);
+       mdelay(5);
 }
 
 /* ----------------------------------------------------------------------- */