diff options
author | Harald Welte <laforge@openmoko.org> | 2008-06-30 17:40:26 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-07-15 08:14:46 -0400 |
commit | ceb3ac252519f9ab318050c8ee842e62820d6731 (patch) | |
tree | 7846bac3734c489a1f1f87a58a56419917db14e9 /drivers | |
parent | 679f0f8abd7187baaff40a47fe4733ae4c24cc9a (diff) |
MMC: DMA free fix for S3C24XX SD/MMC driver
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/s3cmci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index 4db5bd7c0494..6070f36139bd 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) | |||
1254 | clk_put(host->clk); | 1254 | clk_put(host->clk); |
1255 | 1255 | ||
1256 | tasklet_disable(&host->pio_tasklet); | 1256 | tasklet_disable(&host->pio_tasklet); |
1257 | s3c2410_dma_free(S3CMCI_DMA, &s3cmci_dma_client); | ||
1257 | 1258 | ||
1258 | free_irq(host->irq_cd, host); | 1259 | free_irq(host->irq_cd, host); |
1259 | free_irq(host->irq, host); | 1260 | free_irq(host->irq, host); |