summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-09-29 23:41:59 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-11 19:04:32 +0100
commit37ea9830139b321497640b6d8fe93bb2fe00d1f6 (patch)
tree96ceb6155fe92cd5f3276e4e0a7178fafe2e36d6
parentmedia: staging/imx: fix complete handler (diff)
downloadlinux-37ea9830139b321497640b6d8fe93bb2fe00d1f6.tar.xz
linux-37ea9830139b321497640b6d8fe93bb2fe00d1f6.zip
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 <rmk+kernel@armlinux.org.uk> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--drivers/staging/media/imx/imx-media-csi.c2
1 files changed, 1 insertions, 1 deletions
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;