Re: [PATCH] mmc: dw_mmc: Don't send clock off command if power is off

2015-03-22 Thread Doug Anderson
Alim, On Sun, Mar 22, 2015 at 5:16 AM, Alim Akhtar wrote: >> case MMC_POWER_OFF: >> - /* Turn clock off before power goes down */ >> - dw_mci_setup_bus(slot, false); >> + /* Turn clock off before power goes down; only if powered */ >> +

Re: [PATCH] mmc: dw_mmc: Don't send clock off command if power is off

2015-03-22 Thread Alim Akhtar
Hi Doug, On Fri, Mar 20, 2015 at 11:30 PM, Doug Anderson wrote: > We've already seen that it causes failures if we try to send the > "SDMMC_CMD_UPD_CLK" command when power is off to the system. Here's > another case where we were doing it: we were sending an > SDMMC_CMD_UPD_CLK to set the clock