]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
media: imx-csi: fix burst size
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 29 Sep 2017 21:41:59 +0000 (17:41 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 11 Dec 2017 18:04:32 +0000 (13:04 -0500)
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 <rmk+kernel@armlinux.org.uk>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/imx/imx-media-csi.c

index f4a3bf5ca2bbc5084a09d3098f03e3ff7a07b642..d90cfda1529c986115871ef1dc66783a8db2edd7 100644 (file)
@@ -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;