2006-11-01 05:56:15

by Chris Wright

[permalink] [raw]
Subject: [PATCH 10/61] sound/pci/au88x0/au88x0.c: ioremap balanced with iounmap

-stable review patch. If anyone has any objections, please let us know.
------------------

From: Amol Lad <[email protected]>

[PATCH] sound/pci/au88x0/au88x0.c: ioremap balanced with iounmap

From: Amol Lad <[email protected]>
Signed-off-by: Amol Lad <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Chris Wright <[email protected]>

---
sound/pci/au88x0/au88x0.c | 1 +
1 file changed, 1 insertion(+)

--- linux-2.6.18.1.orig/sound/pci/au88x0/au88x0.c
+++ linux-2.6.18.1/sound/pci/au88x0/au88x0.c
@@ -128,6 +128,7 @@ static int snd_vortex_dev_free(struct sn
// 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);

--