Commit f3112735 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

media: v4l: fwnode: Call CSI2 bus csi2, not csi

The function to parse CSI2 bus parameters was called
v4l2_fwnode_endpoint_parse_csi_bus(), rename it as
v4l2_fwnode_endpoint_parse_csi2_bus() in anticipation of CSI1/CCP2
support.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: default avatarSebastian Reichel <sebastian.reichel@collabora.co.uk>
Tested-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 48b01325
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <media/v4l2-fwnode.h> #include <media/v4l2-fwnode.h>
static int v4l2_fwnode_endpoint_parse_csi_bus(struct fwnode_handle *fwnode, static int v4l2_fwnode_endpoint_parse_csi2_bus(struct fwnode_handle *fwnode,
struct v4l2_fwnode_endpoint *vep) struct v4l2_fwnode_endpoint *vep)
{ {
struct v4l2_fwnode_bus_mipi_csi2 *bus = &vep->bus.mipi_csi2; struct v4l2_fwnode_bus_mipi_csi2 *bus = &vep->bus.mipi_csi2;
...@@ -176,7 +176,7 @@ int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode, ...@@ -176,7 +176,7 @@ int v4l2_fwnode_endpoint_parse(struct fwnode_handle *fwnode,
memset(&vep->bus_type, 0, sizeof(*vep) - memset(&vep->bus_type, 0, sizeof(*vep) -
offsetof(typeof(*vep), bus_type)); offsetof(typeof(*vep), bus_type));
rval = v4l2_fwnode_endpoint_parse_csi_bus(fwnode, vep); rval = v4l2_fwnode_endpoint_parse_csi2_bus(fwnode, vep);
if (rval) if (rval)
return rval; return rval;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment