]> git.neil.brown.name Git - history.git/commitdiff
[ARM PATCH] 2288/1: unlink MMC DMA on driver exit
authorNicolas Pitre <nico@org.rmk.(none)>
Wed, 1 Dec 2004 16:32:14 +0000 (16:32 +0000)
committerRussell King <rmk@flint.arm.linux.org.uk>
Wed, 1 Dec 2004 16:32:14 +0000 (16:32 +0000)
Patch from Nicolas Pitre

Signed-off-by: Nicolas Pitre
Signed-off-by: Russell King
drivers/mmc/pxamci.c

index cadaa1efdab2262a6d0ed34bc0f30a0141167e3e..224114eeef4bad3a29b06f10ce50ffa07e305432 100644 (file)
@@ -547,6 +547,9 @@ static int pxamci_remove(struct device *dev)
 
                pxa_set_cken(CKEN12_MMC, 0);
 
+               DRCMRRXMMC = 0;
+               DRCMRTXMMC = 0;
+
                free_irq(host->irq, host);
                pxa_free_dma(host->dma);
                iounmap(host->base);