mmc: host: rk_sdmmc: fix re-put count of dma
authorlintao <lintao@rock-chips.com>
Mon, 30 Jun 2014 02:03:26 +0000 (10:03 +0800)
committerlintao <lintao@rock-chips.com>
Tue, 1 Jul 2014 00:35:33 +0000 (08:35 +0800)
drivers/mmc/host/rk_sdmmc.c

index 1c02aa9fa3b78c088617b7f24f2451d705c0b2ed..d9272d28029b009106261037ebc57b8bed8e8bf9 100755 (executable)
@@ -3839,9 +3839,6 @@ void dw_mci_remove(struct dw_mci *host)
        int i;
        del_timer_sync(&host->dto_timer);
 
-       if(host->use_dma && host->dma_ops->exit)
-               host->dma_ops->exit(host);
-
         mci_writel(host, RINTSTS, 0xFFFFFFFF);
         mci_writel(host, INTMASK, 0); /* disable all mmc interrupt first */