Skip to contentSkip to conversation

sound/pci/au88x0/au88x0.c: ioremap balanced with iounmap

PATCH In review Amol Lad 2 participants 2 messages Oct 6, 2006 Sound

lore
Share & tools
lore

Amol Lad

author
#0 lore raw

PATCH 4/9 sound/pci/au88x0/au88x0.c: ioremap balanced with iounmap

---
 au88x0.c |    1 +
 1 files changed, 1 insertion(+)

---

sound/pci/au88x0/au88x0.c +1 -0
diff -uprN -X linux-2.6.19-rc1-orig/Documentation/dontdiff linux-2.6.19-rc1-orig/sound/pci/au88x0/au88x0.c linux-2.6.19-rc1/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);
#1 lore raw

At Fri, 06 Oct 2006 11:08:57 +0530,

Quoted 2 lines · Amol Lad

Looks OK. I merged to ALSA tree now.

Thanks,

Takashi

Quoted 23 lines
---
 au88x0.c |    1 +
 1 files changed, 1 insertion(+)

---
diff -uprN -X linux-2.6.19-rc1-orig/Documentation/dontdiff linux-2.6.19-rc1-orig/sound/pci/au88x0/au88x0.c linux-2.6.19-rc1/sound/pci/au88x0/au88x0.c

sound/pci/au88x0/au88x0.c +1 -1
@@ -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);
 
 
-

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/