Commit 0136d6ea authored by Amol Lad's avatar Amol Lad Committed by Chris Wright

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

From: Amol Lad <amol@verismonetworks.com>
Signed-off-by: default avatarAmol Lad <amol@verismonetworks.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
parent 0189ff18
...@@ -128,6 +128,7 @@ static int snd_vortex_dev_free(struct snd_device *device) ...@@ -128,6 +128,7 @@ static int snd_vortex_dev_free(struct snd_device *device)
// Take down PCI interface. // Take down PCI interface.
synchronize_irq(vortex->irq); synchronize_irq(vortex->irq);
free_irq(vortex->irq, vortex); free_irq(vortex->irq, vortex);
iounmap(vortex->mmio);
pci_release_regions(vortex->pci_dev); pci_release_regions(vortex->pci_dev);
pci_disable_device(vortex->pci_dev); pci_disable_device(vortex->pci_dev);
kfree(vortex); kfree(vortex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment