Re: [PATCH 2/4] ALSA: hda: Stop mangling PCI MSI
From: Takashi Iwai
Date: Fri Oct 23 2020 - 07:34:35 EST
On Fri, 23 Oct 2020 12:23:36 +0200,
Kai-Heng Feng wrote:
>
> @@ -1038,14 +1036,6 @@ static int azx_suspend(struct device *dev)
> __azx_runtime_suspend(chip);
> else
> pm_runtime_force_suspend(dev);
> - if (bus->irq >= 0) {
> - free_irq(bus->irq, chip);
> - bus->irq = -1;
> - chip->card->sync_irq = -1;
> - }
This release of irq has nothing to do with MSI. There has been PCI
controllers that assign to a different IRQ line after the resume.
> - if (azx_acquire_irq(chip, 1) < 0)
> - return -EIO;
Ditto.
thanks,
Takashi