mmc: rk_sdmmc: fix dw_mci_suspend
authorlintao <lintao@rock-chips.com>
Fri, 7 Mar 2014 11:32:06 +0000 (19:32 +0800)
committerlintao <lintao@rock-chips.com>
Fri, 7 Mar 2014 11:32:06 +0000 (19:32 +0800)
drivers/mmc/host/rk_sdmmc.c

index 0a31358816be8d3c1838cfc64910f55fe6ecc50a..ebd0edbb09d988c27f8163df425a34566d475fe2 100755 (executable)
@@ -2738,7 +2738,7 @@ EXPORT_SYMBOL(dw_mci_remove);
  */
 int dw_mci_suspend(struct dw_mci *host)
 {
-       int i, ret = 0;
+       /*int i, ret = 0;
 
        for (i = 0; i < host->num_slots; i++) {
                struct dw_mci_slot *slot = host->slot[i];
@@ -2754,7 +2754,7 @@ int dw_mci_suspend(struct dw_mci *host)
                        return ret;
                }
        }
-
+       */
        if (host->vmmc)
                regulator_disable(host->vmmc);