diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2018-05-03 12:32:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-05-09 16:32:56 -0400 |
commit | 5b817555ab1a02235eddbffa70ceb2b482d4aaef (patch) | |
tree | 4c33a94d55fce380135957da764243700321be34 | |
parent | e30681bc19bf1fc72953cd4ee23c374caa449591 (diff) | |
download | linux-5b817555ab1a02235eddbffa70ceb2b482d4aaef.tar.gz linux-5b817555ab1a02235eddbffa70ceb2b482d4aaef.tar.bz2 linux-5b817555ab1a02235eddbffa70ceb2b482d4aaef.zip |
media: imx-csi: fix burst size for 16 bit
A burst_size of 4 does not work for the 16 bit passthrough formats, so
we use 8 instead.
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r-- | drivers/staging/media/imx/imx-media-csi.c | 2 |
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 1112d8f67a18..08b636084286 100644 --- a/drivers/staging/media/imx/imx-media-csi.c +++ b/drivers/staging/media/imx/imx-media-csi.c @@ -410,7 +410,7 @@ static int csi_idmac_setup_channel(struct csi_priv *priv) case V4L2_PIX_FMT_SGRBG16: case V4L2_PIX_FMT_SRGGB16: case V4L2_PIX_FMT_Y16: - burst_size = 4; + burst_size = 8; passthrough = true; passthrough_bits = 16; break; |