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

Frank Li <[email protected]>
Newsgroups org.kernel.vger.linux-media
Message-ID <aoytzAQpGBAhDsWp@lizhi-Precision-Tower-5810>
On Mon, Aug 24, 2026 at 03:14:35PM +0300, Sakari Ailus wrote:
> 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]>
> ---

Reviewed-by: Frank Li <[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.