提交 ceb3ac25 编写于 作者: H Harald Welte 提交者: Pierre Ossman

MMC: DMA free fix for S3C24XX SD/MMC driver

Bugfix to ensure DMA channel allocated is freed on exit.
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
Signed-off-by: NPierre Ossman <drzeus@drzeus.cx>
上级 679f0f8a
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册