提交 f9cc48f1 编写于 作者: T Tim Harvey 提交者: Mauro Carvalho Chehab

media: imx: Fix VDIC CSI1 selection

When using VDIC with CSI1, make sure to select the correct CSI in
IPU_CONF.

Fixes: f0d9c892 ("[media] media: imx: Add IC subdev drivers")
Suggested-by: NMarek Vasut <marex@denx.de>
Signed-off-by: NTim Harvey <tharvey@gateworks.com>
Acked-by: NSteve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 7996e5c4
......@@ -320,9 +320,10 @@ static int prp_link_validate(struct v4l2_subdev *sd,
* the ->PRPENC link cannot be enabled if the source
* is the VDIC
*/
if (priv->sink_sd_prpenc)
if (priv->sink_sd_prpenc) {
ret = -EINVAL;
goto out;
goto out;
}
} else {
/* the source is a CSI */
if (!csi) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册