]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: ipu6: isys: Use correct pads for xlate_streams()
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 2 Jun 2025 21:08:51 +0000 (00:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:34:27 +0000 (16:34 +0200)
commit6b07fdbe3dbf3f97a0b35820f4e5b933ef457502
tree5c727d8266c1c0e671fd8b676f4a440703bf0a5c
parentd8c94df2064d0ce1f1115851e6f9f2eb4eef34a5
media: ipu6: isys: Use correct pads for xlate_streams()

commit ff49672a28f3a856717f09d61380e524e243121f upstream.

The pad argument to v4l2_subdev_state_xlate_streams() is incorrect, static
pad number is used for the source pad even though the pad number is
dependent on the stream. Fix it.

Fixes: 3a5c59ad926b ("media: ipu6: Rework CSI-2 sub-device streaming control")
Cc: stable@vger.kernel.org
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c