]> git.itanic.dy.fi Git - linux-stable/commit
media: ov2740: Add a sleep after resetting the sensor
authorHans de Goede <hdegoede@redhat.com>
Mon, 4 Dec 2023 12:39:45 +0000 (13:39 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 13 Dec 2023 12:21:20 +0000 (13:21 +0100)
commitefff0a80bc66dcba08e4810fc9eb91c78d5586cf
tree7c890c49c138b454fae93a9aa0b1af5dada16cb9
parent0677a2d9b735c1d57410dd188eb93ce61635987c
media: ov2740: Add a sleep after resetting the sensor

Split the resetting of the sensor out of the link_freq_config reg_list
and add a delay after this.

This hopefully fixes the stream sometimes not starting, this was
taken from the ov2740 sensor driver in the out of tree IPU6 driver:

https://github.com/intel/ipu6-drivers/

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/ov2740.c