From: Russell King Date: Fri, 29 Sep 2017 21:41:59 +0000 (-0400) Subject: media: imx-csi: fix burst size X-Git-Tag: Ubuntu-5.0.0-8.9~3064^2~345 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=37ea9830139b321497640b6d8fe93bb2fe00d1f6;p=mirror_ubuntu-disco-kernel.git media: imx-csi: fix burst size Setting a burst size of "8" doesn't work for IMX219 with 8-bit bayer, but a burst size of "16" does. Fix this. Signed-off-by: Russell King Acked-by: Philipp Zabel Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/imx/imx-media-csi.c b/drivers/staging/media/imx/imx-media-csi.c index f4a3bf5ca2bb..d90cfda1529c 100644 --- a/drivers/staging/media/imx/imx-media-csi.c +++ b/drivers/staging/media/imx/imx-media-csi.c @@ -337,7 +337,7 @@ static int csi_idmac_setup_channel(struct csi_priv *priv) case V4L2_PIX_FMT_SGBRG8: case V4L2_PIX_FMT_SGRBG8: case V4L2_PIX_FMT_SRGGB8: - burst_size = 8; + burst_size = 16; passthrough = true; passthrough_bits = 8; break;