]> git.baikalelectronics.ru Git - kernel.git/commit
media: imx-csi: Skip first few frames from a BT.656 source
authorSteve Longerbeam <slongerbeam@gmail.com>
Mon, 17 May 2021 14:29:23 +0000 (16:29 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 17 Jun 2021 08:20:31 +0000 (10:20 +0200)
commit6e41df19033be549be2e603a3b9f4bdec6662171
tree49152379fbf0274212de16d0d6bb7f22e4d8c58d
parent76ea4c946edae46dd4c1904fb8f9207506a412de
media: imx-csi: Skip first few frames from a BT.656 source

Some BT.656 sensors (e.g. ADV718x) transmit frames with unstable BT.656
sync codes after initial power on. This confuses the imx CSI,resulting
in vertical and/or horizontal sync issues. Skip the first 20 frames
to avoid the unstable sync codes.

[fabio: fixed checkpatch warning and increased the frame skipping to 20]

Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/imx/imx-media-csi.c