Re: [PATCH] mmc: core: claim host during mmc_power_off on suspend

2012-01-18 Thread Arik Nemtsov
On Tue, Jan 17, 2012 at 09:18, Adrian Hunter wrote: >> -     if (!err && !mmc_card_keep_power(host)) >> +     if (!powered_off && !err && !mmc_card_keep_power(host)) { >> +             mmc_claim_host(host); > > Why not mmc_try_claim_host() etc? > Sure, mmc_try_claim_host() sounds better. I'll res

Re: [PATCH] mmc: core: claim host during mmc_power_off on suspend

2012-01-16 Thread Adrian Hunter
On 11/01/12 16:51, Arik Nemtsov wrote: > Make sure the host is claimed in all calls of mmc_power_off() during > suspend. In addition make sure mmc_power_off() isn't called twice in > some suspend flows. > > Signed-off-by: Arik Nemtsov > Signed-off-by: Ido Yariv > --- > drivers/mmc/core/core.c |

Re: [PATCH] mmc: core: claim host during mmc_power_off on suspend

2012-01-16 Thread Arik Nemtsov
On Wed, Jan 11, 2012 at 16:51, Arik Nemtsov wrote: > Make sure the host is claimed in all calls of mmc_power_off() during > suspend. In addition make sure mmc_power_off() isn't called twice in > some suspend flows. > > Signed-off-by: Arik Nemtsov > Signed-off-by: Ido Yariv ping -- To unsubscrib

[PATCH] mmc: core: claim host during mmc_power_off on suspend

2012-01-11 Thread Arik Nemtsov
Make sure the host is claimed in all calls of mmc_power_off() during suspend. In addition make sure mmc_power_off() isn't called twice in some suspend flows. Signed-off-by: Arik Nemtsov Signed-off-by: Ido Yariv --- drivers/mmc/core/core.c |7 ++- 1 files changed, 6 insertions(+), 1 dele