From: Martin Bugge Date: Thu, 5 Dec 2013 14:56:32 +0000 (-0300) Subject: [media] adv7842: increase wait time X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=84aeed5310d7ea589ee703636d45bb56de0adb7f;p=linux-beck.git [media] adv7842: increase wait time 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 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/adv7842.c b/drivers/media/i2c/adv7842.c index 86db9fca77f6..f16437ceed4a 100644 --- a/drivers/media/i2c/adv7842.c +++ b/drivers/media/i2c/adv7842.c @@ -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); } /* ----------------------------------------------------------------------- */