FAILED: Patch "media: i2c: ov01a10: Fix passing stream instead of pad to v4l2_subdev_state_get_format()" failed to apply to 6.12-stable tree
Subsystems (4)
Sasha Levin
maintainerThe patch below does not apply to the 6.12-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
Thanks,
Sasha
------------------ original commit in Linus's tree ------------------
From f8563a375e7fba7c776eb591d4498be592c19098 Mon Sep 17 00:00:00 2001
From: Hans de Goede <[email protected]>
Date: Tue, 14 Oct 2025 19:40:13 +0200
Subject: [PATCH] media: i2c: ov01a10: Fix passing stream instead of pad to
v4l2_subdev_state_get_format()
The 2 argument version of v4l2_subdev_state_get_format() takes the pad as second argument, not the stream.
Fixes bc0e8d91feec ("media: v4l: subdev: Switch to stream-aware state functions")
Signed-off-by Hans de Goede <[email protected]>
Reviewed-by Mehdi Djait <[email protected]>
Signed-off-by Sakari Ailus <[email protected]>
Signed-off-by Hans Verkuil <[email protected]>
--- drivers/media/i2c/ov01a10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/i2c/ov01a10.c +1 -1
@@ -731,7 +731,7 @@ static int ov01a10_set_format(struct v4l2_subdev *sd, h_blank); } - format =v4l2_subdev_state_get_format (sd_state, fmt->stream); + format =v4l2_subdev_state_get_format (sd_state, fmt->pad); *format = fmt->format;return 0 ;
Signature · 1 line
2.51.0