diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 0154389bf95b..4070b5cd9b6b 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -1402,10 +1402,10 @@ static int azx_free(struct azx *chip) | |||
1402 | msleep(1); | 1402 | msleep(1); |
1403 | } | 1403 | } |
1404 | 1404 | ||
1405 | if (chip->remap_addr) | ||
1406 | iounmap(chip->remap_addr); | ||
1407 | if (chip->irq >= 0) | 1405 | if (chip->irq >= 0) |
1408 | free_irq(chip->irq, (void*)chip); | 1406 | free_irq(chip->irq, (void*)chip); |
1407 | if (chip->remap_addr) | ||
1408 | iounmap(chip->remap_addr); | ||
1409 | 1409 | ||
1410 | if (chip->bdl.area) | 1410 | if (chip->bdl.area) |
1411 | snd_dma_free_pages(&chip->bdl); | 1411 | snd_dma_free_pages(&chip->bdl); |