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>
Wed, 20 Nov 2019 17:46:34 +0000 (18:46 +0100)
commit20f93eb9194c53ab31968da100152011547e2479
treea967be1af6650bce66b00d7a575ea7c974747807
parente80e83fb0106326aff99f20f0f0b8237f07cf0d7
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