summaryrefslogtreecommitdiffstats
path: root/mm/early_ioremap.c
diff options
context:
space:
mode:
authorWei Chen <harperchen1110@gmail.com>2023-03-15 13:45:18 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-09 10:32:23 +0200
commit34562df4082b9f2a906e1a0b4a8286fe87d89c22 (patch)
tree30285b7ed4386fce23db278371727c04ac477616 /mm/early_ioremap.c
parent5e56e3d5ebeb9d9db5767a60abd804cbcc074db1 (diff)
downloadlinux-stable-34562df4082b9f2a906e1a0b4a8286fe87d89c22.tar.gz
linux-stable-34562df4082b9f2a906e1a0b4a8286fe87d89c22.tar.bz2
linux-stable-34562df4082b9f2a906e1a0b4a8286fe87d89c22.zip
media: netup_unidvb: fix irq init by register it at the end of probe
[ Upstream commit e6ad6233592593079db5c8fa592c298e51bc1356 ] 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>
Diffstat (limited to 'mm/early_ioremap.c')
0 files changed, 0 insertions, 0 deletions