]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ALSA: intel8x0m: Register irq handler after register initializations
authorTakashi Iwai <tiwai@suse.de>
Tue, 28 Aug 2018 14:39:10 +0000 (16:39 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 26 Nov 2019 12:16:36 +0000 (13:16 +0100)
commit2462727f264a4b5277b08638d313143ab496adc9
tree16865c3aade9d7640c8d55752d35470c01b76206
parenteaf6910bff3d8954ac0db96f33a04bf37d8e84e7
ALSA: intel8x0m: Register irq handler after register initializations

BugLink: https://bugs.launchpad.net/bugs/1853915
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
sound/pci/intel8x0m.c