RE: [PATCH 1/3] mmc: core: do power-off with resume failure

2013-08-26 Thread Seungwon Jeon
On Mon, August 26, 2013, Ulf Hansson wrote: > On 26 August 2013 08:39, Seungwon Jeon wrote: > > On Friday, August 23, 2013, Ulf Hansson wrote: > >> On 21 August 2013 14:42, Seungwon Jeon wrote: > >> > Currently there is no mmc_power_off() when resume failed. > >> > Somehow, state from mmc_power_o

Re: [PATCH 1/3] mmc: core: do power-off with resume failure

2013-08-26 Thread Ulf Hansson
On 26 August 2013 08:39, Seungwon Jeon wrote: > On Friday, August 23, 2013, Ulf Hansson wrote: >> On 21 August 2013 14:42, Seungwon Jeon wrote: >> > Currently there is no mmc_power_off() when resume failed. >> > Somehow, state from mmc_power_on() will be kept. This change >> > makes a pair with i

RE: [PATCH 1/3] mmc: core: do power-off with resume failure

2013-08-25 Thread Seungwon Jeon
On Friday, August 23, 2013, Ulf Hansson wrote: > On 21 August 2013 14:42, Seungwon Jeon wrote: > > Currently there is no mmc_power_off() when resume failed. > > Somehow, state from mmc_power_on() will be kept. This change > > makes a pair with its use in case of failure. > > Hi Seungwon, > > To

Re: [PATCH 1/3] mmc: core: do power-off with resume failure

2013-08-23 Thread Ulf Hansson
On 21 August 2013 14:42, Seungwon Jeon wrote: > Currently there is no mmc_power_off() when resume failed. > Somehow, state from mmc_power_on() will be kept. This change > makes a pair with its use in case of failure. Hi Seungwon, To be safe, we can not power off, even if a resume failures. The r

[PATCH 1/3] mmc: core: do power-off with resume failure

2013-08-21 Thread Seungwon Jeon
Currently there is no mmc_power_off() when resume failed. Somehow, state from mmc_power_on() will be kept. This change makes a pair with its use in case of failure. Signed-off-by: Seungwon Jeon --- drivers/mmc/core/mmc.c |3 +++ drivers/mmc/core/sd.c |3 +++ drivers/mmc/core/sdio.c |