summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/imx/imx-media-dev-common.c
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@collabora.com>2019-06-27 19:29:12 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-08-15 08:15:54 -0300
commit0d5078c7172c46db6c58718d817b9fcf769554b4 (patch)
treee98650f09a8bc0208239e7572368c896c71dc2c3 /drivers/staging/media/imx/imx-media-dev-common.c
parent9bf656e1a6b0709122ec3d71131171c92cf4cdae (diff)
downloadlinux-0-day-0d5078c7172c46db6c58718d817b9fcf769554b4.tar.gz
linux-0-day-0d5078c7172c46db6c58718d817b9fcf769554b4.tar.xz
media: imx: mipi csi-2: Don't fail if initial state times-out
Not all sensors will be able to guarantee a proper initial state. This may be either because the driver is not properly written, or (probably unlikely) because the hardware won't support it. While the right solution in the former case is to fix the sensor driver, the real world not always allows right solutions, due to lack of available documentation and support on these sensors. Let's relax this requirement, and allow the driver to support stream start, even if the sensor initial sequence wasn't the expected. Also improve the warning message to better explain the problem and provide a hint that the sensor driver needs to be fixed. Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Steve Longerbeam <slongerbeam@gmail.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media/imx/imx-media-dev-common.c')
0 files changed, 0 insertions, 0 deletions