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>
Mon, 25 Nov 2019 08:52:17 +0000 (09:52 +0100)
commit84c2f1e2289b7b9b802e146cfd08600cc33d7cc4
tree8aa8ec756c5afadd0f5a0277eb73c984dd0bf924
parent8b7623080aeae27eeab446d0a2857561e644fb51
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