]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/hda/hda_intel.c
[ALSA] Fix synchronize_irq() bugs, redundancies
[linux-2.6-omap-h63xx.git] / sound / pci / hda / hda_intel.c
index bc3867e1945c2adcfa0a17c51670f0f7f5cff042..b3a618eb42cdf5b4a45bc861312b974b7ce00581 100644 (file)
@@ -1682,7 +1682,6 @@ static int azx_suspend(struct pci_dev *pci, pm_message_t state)
                snd_hda_suspend(chip->bus, state);
        azx_stop_chip(chip);
        if (chip->irq >= 0) {
-               synchronize_irq(chip->irq);
                free_irq(chip->irq, chip);
                chip->irq = -1;
        }
@@ -1738,10 +1737,8 @@ static int azx_free(struct azx *chip)
                azx_stop_chip(chip);
        }
 
-       if (chip->irq >= 0) {
-               synchronize_irq(chip->irq);
+       if (chip->irq >= 0)
                free_irq(chip->irq, (void*)chip);
-       }
        if (chip->msi)
                pci_disable_msi(chip->pci);
        if (chip->remap_addr)