提交 5b817555 编写于 作者: J Jan Luebbe 提交者: Mauro Carvalho Chehab

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: NJan Luebbe <jlu@pengutronix.de>
Acked-by: NPhilipp Zabel <p.zabel@pengutronix.de>
Acked-by: NSteve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
上级 e30681bc
...@@ -410,7 +410,7 @@ static int csi_idmac_setup_channel(struct csi_priv *priv) ...@@ -410,7 +410,7 @@ static int csi_idmac_setup_channel(struct csi_priv *priv)
case V4L2_PIX_FMT_SGRBG16: case V4L2_PIX_FMT_SGRBG16:
case V4L2_PIX_FMT_SRGGB16: case V4L2_PIX_FMT_SRGGB16:
case V4L2_PIX_FMT_Y16: case V4L2_PIX_FMT_Y16:
burst_size = 4; burst_size = 8;
passthrough = true; passthrough = true;
passthrough_bits = 16; passthrough_bits = 16;
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册