diff --git a/drivers/mmc/host/bcm2835.c b/drivers/mmc/host/bcm2835.c index 096e737dffaaace561812360bbc7259fdfdd9ce2..0711e251940c545bee45c63cf6d18b62996d16c3 100644 --- a/drivers/mmc/host/bcm2835.c +++ b/drivers/mmc/host/bcm2835.c @@ -1446,6 +1446,9 @@ static int bcm2835_remove(struct platform_device *pdev) cancel_work_sync(&host->dma_work); cancel_delayed_work_sync(&host->timeout_work); + if (host->dma_chan_rxtx) + dma_release_channel(host->dma_chan_rxtx); + mmc_free_host(host->mmc); platform_set_drvdata(pdev, NULL);