mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
snd_harmony_create() registers the IRQ before initializing h->lock and
h->mixer_lock. A pending interrupt can invoke the handler while these
locks are uninitialized.
Initialize both locks before requesting the IRQ so the handler always
sees valid lock state.
Fixes:
|
||
|---|---|---|
| .. | ||
| harmony.c | ||
| harmony.h | ||
| Kconfig | ||
| Makefile | ||