mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
mmc: rk_sdmmc: fix dw_mci_suspend
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user