]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: fm801: Initialize chip after IRQ handler is registered
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 16 Jul 2017 18:40:03 +0000 (21:40 +0300)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Jul 2017 09:55:40 +0000 (11:55 +0200)
commit610e1ae9b533be82b3aa118b907e0a703256913d
tree7f658c1158494fc3a411f6673321e55cb8485275
parent89542936df29d7104537279a6a7e583de6e15b92
ALSA: fm801: Initialize chip after IRQ handler is registered

The commit b56fa687e02b ("ALSA: fm801: detect FM-only card earlier")
rearranged initialization calls, i.e. it makes snd_fm801_chip_init() to
be called before we register interrupt handler and set PCI bus
mastering.

Somehow it prevents FM801-AU to work properly. Thus, partially revert
initialization order changed by commit mentioned above.

Fixes: b56fa687e02b ("ALSA: fm801: detect FM-only card earlier")
Reported-by: Émeric MASCHINO <emeric.maschino@gmail.com>
Tested-by: Émeric MASCHINO <emeric.maschino@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: <stable@vger.kernel.org> # v4.5+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/fm801.c