mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
uni_reader_init() registers the shared IRQ before initializing
reader->irq_lock. A pending interrupt can invoke the handler while the
lock is still uninitialized.
Initialize the lock before registering the IRQ so the interrupt path
always sees valid lock state.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| sti_uniperif.c | ||
| uniperif_player.c | ||
| uniperif_reader.c | ||
| uniperif.h | ||