OSDN Git Service

ALSA: intel8x0m: Register irq handler after register initializations
authorTakashi Iwai <tiwai@suse.de>
Tue, 28 Aug 2018 14:39:10 +0000 (16:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Nov 2019 13:43:31 +0000 (14:43 +0100)
commite8b1337ee8223cb03e18626878613ce7e594479a
tree12893362c61f216e9a2a82d2e472b7c1c669b5b8
parent0a1f6898617236a1511c756832ee0e2ac99de9c3
ALSA: intel8x0m: Register irq handler after register initializations

[ Upstream commit 7064f376d4a10686f51c879401a569bb4babf9c6 ]

The interrupt handler has to be acquired after the other resource
initialization when allocated with IRQF_SHARED.  Otherwise it's
triggered before the resource gets ready, and may lead to unpleasant
behavior.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/intel8x0m.c