linux/drivers/media/pci
Wei Chen 058822591b media: netup_unidvb: fix irq init by register it at the end of probe
[ Upstream commit e6ad623359 ]

IRQ handler netup_spi_interrupt() takes spinlock spi->lock. The lock
is initialized in netup_spi_init(). However, irq handler is registered
before initializing the lock.

Spinlock dma->lock and i2c->lock suffer from the same problem.

Fix this by registering the irq at the end of probe.

Link: https://lore.kernel.org/linux-media/20230315134518.1074497-1-harperchen1110@gmail.com
Signed-off-by: Wei Chen <harperchen1110@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-09 10:34:12 +02:00
..
b2c2
bt8xx
cobalt
cx18
cx88
cx23885 media: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish() 2023-05-24 17:32:34 +01:00
cx25821
ddbridge
dm1105 media: dm1105: Fix use after free bug in dm1105_remove due to race condition 2023-05-11 23:03:15 +09:00
dt3155
intel
ivtv
mantis
netup_unidvb media: netup_unidvb: fix irq init by register it at the end of probe 2023-06-09 10:34:12 +02:00
ngene
pluto2
pt1
pt3
saa7134 media: saa7134: fix use after free bug in saa7134_finidev due to race condition 2023-05-11 23:03:15 +09:00
saa7164
smipcie
solo6x10
sta2x11
tw68 media: pci: tw68: Fix null-ptr-deref bug in buf prepare and finish 2023-05-24 17:32:34 +01:00
tw686x
tw5864
zoran
Kconfig
Makefile