[PATCH v3 13/29] media: cdn-csi2rc: media: Use v4l2_subdev_get_frame_desc_passthrough_csi2()

Sakari Ailus <[email protected]>
Newsgroups org.kernel.vger.linux-media
Organization Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo
Message-ID <[email protected]>
Switch to v4l2_subdev_get_frame_desc_passthrough_csi2() in order to allow
compatibility with drivers that do not implement get_frame_desc() pad op.

Signed-off-by: Sakari Ailus <[email protected]>
---
 drivers/media/platform/cadence/cdns-csi2rx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/cadence/cdns-csi2rx.c b/drivers/media/platform/cadence/cdns-csi2rx.c
index 1ff2d8f78d5b..e31cdcd9ce8e 100644
--- a/drivers/media/platform/cadence/cdns-csi2rx.c
+++ b/drivers/media/platform/cadence/cdns-csi2rx.c
@@ -722,7 +722,7 @@ static const struct v4l2_subdev_pad_ops csi2rx_pad_ops = {
 	.enum_mbus_code		= csi2rx_enum_mbus_code,
 	.get_fmt		= v4l2_subdev_get_fmt,
 	.set_fmt		= csi2rx_set_fmt,
-	.get_frame_desc		= v4l2_subdev_get_frame_desc_passthrough,
+	.get_frame_desc		= v4l2_subdev_get_frame_desc_passthrough_csi2,
 	.set_routing		= csi2rx_set_routing,
 	.enable_streams		= csi2rx_enable_streams,
 	.disable_streams	= csi2rx_disable_streams,
-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.