2006-10-06 05:36:11

by Amol Lad

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

Signed-off-by: Amol Lad <[email protected]>
---
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
--- linux-2.6.19-rc1-orig/sound/pci/au88x0/au88x0.c 2006-09-21 10:15:52.000000000 +0530
+++ linux-2.6.19-rc1/sound/pci/au88x0/au88x0.c 2006-10-05 16:22:35.000000000 +0530
@@ -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);



2006-10-06 14:46:09

by Takashi Iwai

[permalink] [raw]
Subject: Re: [PATCH 4/9] sound/pci/au88x0/au88x0.c: ioremap balanced with iounmap

At Fri, 06 Oct 2006 11:08:57 +0530,
Amol Lad wrote:
>
> Signed-off-by: Amol Lad <[email protected]>

Looks OK. I merged to ALSA tree now.


Thanks,

Takashi

> ---
> 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
> --- linux-2.6.19-rc1-orig/sound/pci/au88x0/au88x0.c 2006-09-21 10:15:52.000000000 +0530
> +++ linux-2.6.19-rc1/sound/pci/au88x0/au88x0.c 2006-10-05 16:22:35.000000000 +0530
> @@ -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/
>