mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-09-21 20:04:01 +00:00
mmc: core: use asynchronous runtime suspend pm core api
This change is needed bacause mmc_rpm_release() api is used in softirq context, when usage counter goes to zero, it will trigger pm core runtime suspend callback. Change-Id: I18b1d193952a83336d6539c495509091c24e7d41 Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
This commit is contained in:
parent
1d318be403
commit
76de21c838
1 changed files with 1 additions and 1 deletions
|
@ -4325,7 +4325,7 @@ void mmc_rpm_release(struct mmc_host *host, struct device *dev)
|
|||
if (!mmc_use_core_runtime_pm(host))
|
||||
return;
|
||||
|
||||
ret = pm_runtime_put_sync(dev);
|
||||
ret = pm_runtime_put(dev);
|
||||
if ((ret < 0) &&
|
||||
(dev->power.runtime_error || (dev->power.disable_depth > 0))) {
|
||||
pr_err("%s: %s: %s: pm_runtime_put_sync: err: %d\n",
|
||||
|
|
Loading…
Reference in a new issue