diff options
author | Steve Longerbeam <slongerbeam@gmail.com> | 2020-05-01 19:15:45 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-18 14:20:27 +0200 |
commit | 400a9034c466358c7ae25a47f948648db8735b57 (patch) | |
tree | 679a18e5d306359c318c0cd4164b04fc267d4041 /drivers | |
parent | media: imx: imx7-mipi-csis: Implement get_fwnode_pad op (diff) | |
download | linux-400a9034c466358c7ae25a47f948648db8735b57.tar.xz linux-400a9034c466358c7ae25a47f948648db8735b57.zip |
media: imx: imx7-media-csi: Implement get_fwnode_pad op
Use v4l2_subdev_get_fwnode_pad_1_to_1() as the get_fwnode_pad operation.
The i.MX7 CSI maps port numbers and pad indexes 1:1.
Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/media/imx/imx7-media-csi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/media/imx/imx7-media-csi.c b/drivers/staging/media/imx/imx7-media-csi.c index abef59dc22b6..c74455f65b3e 100644 --- a/drivers/staging/media/imx/imx7-media-csi.c +++ b/drivers/staging/media/imx/imx7-media-csi.c @@ -1179,6 +1179,7 @@ static int imx7_csi_init_cfg(struct v4l2_subdev *sd, static const struct media_entity_operations imx7_csi_entity_ops = { .link_setup = imx7_csi_link_setup, .link_validate = v4l2_subdev_link_validate, + .get_fwnode_pad = v4l2_subdev_get_fwnode_pad_1_to_1, }; static const struct v4l2_subdev_video_ops imx7_csi_video_ops = { |