mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
media: rcar-csi2: Set bus type when parsing fwnode
The only supported bus for the R-Car CSI-2 driver is CSI-2 DPHY, specify this before parsing the fwnode. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
09e73bbd3e
commit
055e124eec
1 changed files with 3 additions and 1 deletions
|
@ -877,7 +877,9 @@ static int rcsi2_parse_dt(struct rcar_csi2 *priv)
|
|||
struct v4l2_async_subdev *asd;
|
||||
struct fwnode_handle *fwnode;
|
||||
struct fwnode_handle *ep;
|
||||
struct v4l2_fwnode_endpoint v4l2_ep = { .bus_type = 0 };
|
||||
struct v4l2_fwnode_endpoint v4l2_ep = {
|
||||
.bus_type = V4L2_MBUS_CSI2_DPHY
|
||||
};
|
||||
int ret;
|
||||
|
||||
ep = fwnode_graph_get_endpoint_by_id(dev_fwnode(priv->dev), 0, 0, 0);
|
||||
|
|
Loading…
Reference in a new issue