Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8a1f0c20 authored by Veerabhadrarao Badiganti's avatar Veerabhadrarao Badiganti Committed by Gerrit - the friendly Code Review server
Browse files

mmc: core: Invoke mmc_power_up/off with claim_host acquired



mmc_power_up/off() would be processed by the platform driver,
so we should ensure that platform driver is in resume state before
invoking these calls. Acquire mmc_claim_host before invoking
mmc_power_up/off() which explicitly resumes platform device.

In prior version kernels, platform device was getting resumed in
mmc_set_ios which gets called by mmc_power_up/down().
But on 4.9 onwards, it was consolidated and added in mmc_claim_host().
So this requirement has arisen only here.

Change-Id: I548bd55e41465a84472081542446b036ebd877a0
Signed-off-by: default avatarVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
parent ae56b6a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment