media: imx-csi: Input connections to CSI should be optional
Some imx platforms do not have fwnode connections to all CSI input ports, and should not be treated as an error. This includes the imx6q SabreAuto, which has no connections to ipu1_csi1 and ipu2_csi0. Return -ENOTCONN in imx_csi_parse_endpoint() so that v4l2-fwnode endpoint parsing will not treat an unconnected CSI input port as an error. Fixes: c893500a ("media: imx: csi: Register a subdev notifier") Signed-off-by: NSteve Longerbeam <slongerbeam@gmail.com> Reviewed-by: NPhilipp Zabel <p.zabel@pengutronix.de> Acked-by: NTim Harvey <tharvey@gateworks.com> Cc: stable@vger.kernel.org Tested-by: NFabio Estevam <festevam@gmail.com> Signed-off-by: NHans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Showing
想要评论请 注册 或 登录