linux/drivers/media/pci/intel
Bingbu Cao ffb9072bce media: intel/ipu6: add csi2 port sanity check in notifier bound
Invalid csi2 port will break the isys notifier bound ops as it is
trying to access an invalid csi2 sub-device instance based on the
port. It will trigger a mc warning, and it will cause the sensor
driver to unbound an inexistent isys csi2 and crash. Adding a
csi2 port sanity check, return error to avoid such case.

Fixes: f50c4ca0a8 ("media: intel/ipu6: add the main input system driver")
Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
[Sakari Ailus: Fix spelling of "nports" field.]
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-05-30 16:34:59 +02:00
..
ipu3 media: ipu3-cio2: Update e-mail addresses 2024-04-10 15:15:31 +02:00
ipu6 media: intel/ipu6: add csi2 port sanity check in notifier bound 2024-05-30 16:34:59 +02:00
ivsc media: mei: csi: Warn less verbosely of a missing device fwnode 2024-05-30 16:34:58 +02:00
ipu-bridge.c media: intel/ipu6: Fix build with !ACPI 2024-05-02 11:19:00 +01:00
Kconfig media: intel/ipu6: Fix direct dependency Kconfig error 2024-05-02 11:19:00 +01:00
Makefile media: intel/ipu6: add Kconfig and Makefile 2024-04-29 14:56:38 +02:00