]> err.no Git - linux-2.6/commitdiff
MMC: DMA free fix for S3C24XX SD/MMC driver
authorHarald Welte <laforge@openmoko.org>
Mon, 30 Jun 2008 21:40:26 +0000 (22:40 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 15 Jul 2008 12:14:46 +0000 (14:14 +0200)
Bugfix to ensure DMA channel allocated is freed on exit.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/s3cmci.c

index 4db5bd7c049469f29888fc24393af4e533574c88..6070f36139bd5e332ee9a503637b7f9ba169b8e3 100644 (file)
@@ -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);