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
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 |
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
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