]> git.karo-electronics.de Git - linux-beck.git/commit
[media] media: adv7180: increase delay after reset to 5ms
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Tue, 10 Nov 2015 13:39:00 +0000 (11:39 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 16:56:59 +0000 (14:56 -0200)
commit16dfe72fd879abc98255bbea62fae9d312ef3b5a
treeb2b367981692068090d6767e1f00f6718154e952
parent588afcc1c0e45358159090d95bf7b246fb67565f
[media] media: adv7180: increase delay after reset to 5ms

Initialization of the ADV7180 chip fails on the Renesas R8A7790-based
Lager board about 50% of the time.  This patch resolves the issue by
increasing the minimum delay after reset from 2 ms to 5 ms, following the
recommendation in the ADV7180 datasheet:

"Executing a software reset takes approximately 2 ms. However, it is
recommended to wait 5 ms before any further I2C writes are performed."

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/adv7180.c