diff options
Diffstat (limited to 'sound/pci/hda/hda_intel.c')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index cc50d13ee90c..bfd74a526b85 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -1422,8 +1422,9 @@ static int azx_free(struct azx *chip) | |||
1422 | } | 1422 | } |
1423 | 1423 | ||
1424 | if (chip->irq >= 0) { | 1424 | if (chip->irq >= 0) { |
1425 | pci_disable_msi(chip->pci); | ||
1426 | free_irq(chip->irq, (void*)chip); | 1425 | free_irq(chip->irq, (void*)chip); |
1426 | if (!disable_msi) | ||
1427 | pci_disable_msi(chip->pci); | ||
1427 | } | 1428 | } |
1428 | if (chip->remap_addr) | 1429 | if (chip->remap_addr) |
1429 | iounmap(chip->remap_addr); | 1430 | iounmap(chip->remap_addr); |