OSDN Git Service

[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 86db9fc..f16437c 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);
 }
 
 /* ----------------------------------------------------------------------- */