From: Nicolas Pitre Date: Wed, 1 Dec 2004 16:32:14 +0000 (+0000) Subject: [ARM PATCH] 2288/1: unlink MMC DMA on driver exit X-Git-Tag: v2.6.10-rc3~48^2 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=08da5faadce678eff9ff0ffe0334ac8dbcae8ae3;p=history.git [ARM PATCH] 2288/1: unlink MMC DMA on driver exit Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre Signed-off-by: Russell King --- diff --git a/drivers/mmc/pxamci.c b/drivers/mmc/pxamci.c index cadaa1efdab2..224114eeef4b 100644 --- a/drivers/mmc/pxamci.c +++ b/drivers/mmc/pxamci.c @@ -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);