diff options
Diffstat (limited to 'drivers/mmc/wbsd.c')
-rw-r--r-- | drivers/mmc/wbsd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/wbsd.c b/drivers/mmc/wbsd.c index 4ff67e7363d9..e954b8354fef 100644 --- a/drivers/mmc/wbsd.c +++ b/drivers/mmc/wbsd.c | |||
@@ -1602,8 +1602,7 @@ static void __devexit wbsd_release_dma(struct wbsd_host* host) | |||
1602 | if (host->dma_addr) | 1602 | if (host->dma_addr) |
1603 | dma_unmap_single(host->mmc->dev, host->dma_addr, WBSD_DMA_SIZE, | 1603 | dma_unmap_single(host->mmc->dev, host->dma_addr, WBSD_DMA_SIZE, |
1604 | DMA_BIDIRECTIONAL); | 1604 | DMA_BIDIRECTIONAL); |
1605 | if (host->dma_buffer) | 1605 | kfree(host->dma_buffer); |
1606 | kfree(host->dma_buffer); | ||
1607 | if (host->dma >= 0) | 1606 | if (host->dma >= 0) |
1608 | free_dma(host->dma); | 1607 | free_dma(host->dma); |
1609 | 1608 | ||