From: Harald Welte Date: Mon, 30 Jun 2008 21:40:26 +0000 (+0100) Subject: MMC: DMA free fix for S3C24XX SD/MMC driver X-Git-Tag: v2.6.27-rc1~1047^2~24 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ceb3ac252519f9ab318050c8ee842e62820d6731;p=linux-2.6-omap-h63xx.git MMC: DMA free fix for S3C24XX SD/MMC driver Bugfix to ensure DMA channel allocated is freed on exit. Signed-off-by: Ben Dooks Signed-off-by: Pierre Ossman --- diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index 4db5bd7c049..6070f36139b 100644 --- a/drivers/mmc/host/s3cmci.c +++ b/drivers/mmc/host/s3cmci.c @@ -1254,6 +1254,7 @@ static int __devexit s3cmci_remove(struct platform_device *pdev) clk_put(host->clk); tasklet_disable(&host->pio_tasklet); + s3c2410_dma_free(S3CMCI_DMA, &s3cmci_dma_client); free_irq(host->irq_cd, host); free_irq(host->irq, host);