[ALSA] sound/pci/au88x0/au88x0.c: ioremap balanced with iounmap
authorAmol Lad <amol@verismonetworks.com>
Fri, 6 Oct 2006 14:45:19 +0000 (16:45 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 6 Oct 2006 18:23:05 +0000 (20:23 +0200)
Signed-off-by: Amol Lad <amol@verismonetworks.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/au88x0/au88x0.c

index ef189d7..6ed5ad5 100644 (file)
@@ -128,6 +128,7 @@ static int snd_vortex_dev_free(struct snd_device *device)
        // Take down PCI interface.
        synchronize_irq(vortex->irq);
        free_irq(vortex->irq, vortex);
+       iounmap(vortex->mmio);
        pci_release_regions(vortex->pci_dev);
        pci_disable_device(vortex->pci_dev);
        kfree(vortex);