media: v4l: mediabus: Recognise CSI-2 D-PHY and C-PHY
The CSI-2 bus may use either D-PHY or C-PHY. Make this visible in media bus enum. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Tested-by: Steve Longerbeam <steve_longerbeam@mentor.com> Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
bf63856a48
commit
2d95e7ed07
@@ -378,7 +378,7 @@ static int csi2rx_parse_dt(struct csi2rx_priv *csi2rx)
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (v4l2_ep.bus_type != V4L2_MBUS_CSI2) {
|
||||
if (v4l2_ep.bus_type != V4L2_MBUS_CSI2_DPHY) {
|
||||
dev_err(csi2rx->dev, "Unsupported media bus type: 0x%x\n",
|
||||
v4l2_ep.bus_type);
|
||||
of_node_put(ep);
|
||||
|
||||
Reference in New Issue
Block a user