mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
![]() Moved IRQ registration down to end of adv7511_probe().
If an IRQ already is pending during adv7511_probe
(before adv7511_cec_init) then cec_received_msg_ts
could crash using uninitialized data:
Unable to handle kernel read from unreadable memory at virtual address 00000000000003d5
Internal error: Oops: 96000004 [#1] PREEMPT_RT SMP
Call trace:
cec_received_msg_ts+0x48/0x990 [cec]
adv7511_cec_irq_process+0x1cc/0x308 [adv7511]
adv7511_irq_process+0xd8/0x120 [adv7511]
adv7511_irq_handler+0x1c/0x30 [adv7511]
irq_thread_fn+0x30/0xa0
irq_thread+0x14c/0x238
kthread+0x190/0x1a8
Fixes:
|
||
---|---|---|
.. | ||
adv7511 | ||
analogix | ||
cadence | ||
imx | ||
synopsys | ||
aux-bridge.c | ||
aux-hpd-bridge.c | ||
chipone-icn6211.c | ||
chrontel-ch7033.c | ||
cros-ec-anx7688.c | ||
display-connector.c | ||
fsl-ldb.c | ||
ite-it6505.c | ||
ite-it66121.c | ||
Kconfig | ||
lontium-lt8912b.c | ||
lontium-lt9211.c | ||
lontium-lt9611.c | ||
lontium-lt9611uxc.c | ||
lvds-codec.c | ||
Makefile | ||
megachips-stdpxxxx-ge-b850v3-fw.c | ||
nwl-dsi.c | ||
nwl-dsi.h | ||
nxp-ptn3460.c | ||
panel.c | ||
parade-ps8622.c | ||
parade-ps8640.c | ||
samsung-dsim.c | ||
sii902x.c | ||
sii9234.c | ||
sil-sii8620.c | ||
sil-sii8620.h | ||
simple-bridge.c | ||
tc358762.c | ||
tc358764.c | ||
tc358767.c | ||
tc358768.c | ||
tc358775.c | ||
thc63lvd1024.c | ||
ti-dlpc3433.c | ||
ti-sn65dsi83.c | ||
ti-sn65dsi86.c | ||
ti-tfp410.c | ||
ti-tpd12s015.c |