]> git.baikalelectronics.ru Git - kernel.git/commit
media: i2c: ov5640: Fix post-reset delay
authorLoic Poulain <loic.poulain@linaro.org>
Wed, 30 Jan 2019 16:48:07 +0000 (11:48 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 18 Feb 2019 16:38:58 +0000 (11:38 -0500)
commitcd0339fcf97f0587164a47d25742a2ecb35c8acc
treec2079cde6f509a33d2f5f09d550d6c00b68970da
parent4f551eb6ae607d189b23097053d89b045873efa5
media: i2c: ov5640: Fix post-reset delay

According to the ov5640 specification (2.7 power up sequence), host can
access the sensor's registers 20ms after reset. Trying to access them
before leads to undefined behavior and result in sporadic initialization
errors.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/ov5640.c