Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ceb3ac25 authored by Harald Welte's avatar Harald Welte Committed by Pierre Ossman
Browse files

MMC: DMA free fix for S3C24XX SD/MMC driver



Bugfix to ensure DMA channel allocated is freed on exit.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 679f0f8a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1254,6 +1254,7 @@ static int __devexit s3cmci_remove(struct platform_device *pdev)
	clk_put(host->clk);
	clk_put(host->clk);


	tasklet_disable(&host->pio_tasklet);
	tasklet_disable(&host->pio_tasklet);
	s3c2410_dma_free(S3CMCI_DMA, &s3cmci_dma_client);


	free_irq(host->irq_cd, host);
	free_irq(host->irq_cd, host);
	free_irq(host->irq, host);
	free_irq(host->irq, host);