]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: cadence: csi2rx: Add .get_frame_desc op
authorRishikesh Donadkar <r-donadkar@ti.com>
Wed, 20 May 2026 12:00:14 +0000 (17:30 +0530)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 20 May 2026 12:28:37 +0000 (15:28 +0300)
The cdns-csi2rx subdev passes streams through without any
modification

Use v4l2_subdev_get_frame_desc_passthrough() helper and add the
.get_frame_desc op

Signed-off-by: Rishikesh Donadkar <r-donadkar@ti.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
drivers/media/platform/cadence/cdns-csi2rx.c

index 2b25314ba6ab0c4b91e605e76e25c5984cabf680..bba0e4c0a34da0972956d7f2ea1b8c85561c468c 100644 (file)
@@ -617,6 +617,7 @@ static const struct v4l2_subdev_pad_ops csi2rx_pad_ops = {
        .set_fmt        = csi2rx_set_fmt,
        .enable_streams         = csi2rx_enable_streams,
        .disable_streams        = csi2rx_disable_streams,
+       .get_frame_desc = v4l2_subdev_get_frame_desc_passthrough,
 };
 
 static const struct v4l2_subdev_core_ops csi2rx_core_ops = {