瀏覽代碼

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

Signed-off-by: Amol Lad <amol@verismonetworks.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Amol Lad 18 年之前
父節點
當前提交
8a238c7b6a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sound/pci/au88x0/au88x0.c

+ 1 - 0
sound/pci/au88x0/au88x0.c

@@ -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);