summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorWei Chen <harperchen1110@gmail.com>2023-03-15 16:45:18 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-05-14 08:30:13 +0300
commite6ad6233592593079db5c8fa592c298e51bc1356 (patch)
tree47e92b4123e064f3c09afc0927bff89ee3040e39 /drivers/usb/cdns3/cdns3-debug.h
parenta3fd1ef27aa686d871cefe207bd6168c4b0cd29e (diff)
downloadlinux-e6ad6233592593079db5c8fa592c298e51bc1356.tar.xz
media: netup_unidvb: fix irq init by register it at the end of probe
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>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions