Skip to content

Commit

Permalink
MMC: DMA free fix for S3C24XX SD/MMC driver
Browse files Browse the repository at this point in the history
Bugfix to ensure DMA channel allocated is freed on exit.

Signed-off-by: Ben Dooks <[email protected]>
Signed-off-by: Pierre Ossman <[email protected]>
  • Loading branch information
laf0rge authored and Pierre Ossman committed Jul 15, 2008
1 parent 679f0f8 commit ceb3ac2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mmc/host/s3cmci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ceb3ac2

Please sign in to comment.