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
@@ -115,7 +115,7 @@ static int v4l2_fwnode_endpoint_parse_csi2_bus(struct fwnode_handle *fwnode,
|
||||
}
|
||||
|
||||
bus->flags = flags;
|
||||
vep->bus_type = V4L2_MBUS_CSI2;
|
||||
vep->bus_type = V4L2_MBUS_CSI2_DPHY;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user