linux/drivers/media/pci
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
..
b2c2
bt8xx media: bt8xx: make bttv_sub_bus_type const 2024-02-16 11:46:33 +01:00
cobalt media: cobalt: Use pad variant of dv timing subdev calls 2024-04-09 08:15:04 +02:00
cx18 media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
cx88 media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
cx23885 media: pci: cx23885: check cx23885_vdev_init() return 2024-02-05 12:57:44 +01:00
cx25821 media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
ddbridge media: ddbridge: fix an error code problem in ddb_probe 2023-12-13 11:04:46 +01:00
dm1105 media: add HAS_IOPORT dependencies 2023-06-28 11:09:25 +02:00
dt3155 media: pci: dt315.h: Fix kerneldoc 2024-02-05 12:57:45 +01:00
intel media: intel/ipu6: add csi2 port sanity check in notifier bound 2024-05-30 16:34:59 +02:00
ivtv media updates for v6.8-rc1 2024-01-12 14:29:48 -08:00
mantis media: mantis: Kconfig: add depends on DVB_CORE for MANTIS_CORE 2022-11-25 10:04:11 +00:00
mgb4 media: mgb4: Fix double debugfs remove 2024-05-27 11:33:56 +02:00
netup_unidvb media: netup_unidvb: Use min macro 2024-05-03 11:12:43 +01:00
ngene media: ngene: Add dvb_ca_en50221_init return value check 2024-04-08 13:48:18 +02:00
pluto2
pt1
pt3 media: pt3: Use dma_set_mask_and_coherent() and simplify code 2022-12-07 17:58:46 +01:00
saa7134 media: saa7134: Use devm_request_irq 2024-04-15 13:42:38 +02:00
saa7146 media: pci: saa7146: advertise only those TV standard that are supported 2023-04-15 08:56:05 +01:00
saa7164 media: pci: saa7164: replace BUG with error return 2023-07-25 09:24:31 +02:00
smipcie
solo6x10 media: solo6x10: Use devm functions 2024-04-15 13:42:38 +02:00
sta2x11 media: sta2x11: fix irq handler cast 2024-02-16 11:46:33 +01:00
ttpci media: ttpci: coding style fixes: logging 2024-04-16 00:02:53 +02:00
tw68 media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
tw686x media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
tw5864 media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
zoran media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
Kconfig media: pci: mgb4: Added Digiteq Automotive MGB4 driver 2023-10-07 10:51:58 +02:00
Makefile media: pci: mgb4: Added Digiteq Automotive MGB4 driver 2023-10-07 10:51:58 +02:00