commit | fb48637fb75c2ffddafa07231926843d50b7d1fc | [log] [tgz] |
---|---|---|
author | Sahitya Tummala <stummala@codeaurora.org> | Fri Sep 02 19:01:49 2011 +0530 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Mon Oct 03 16:17:44 2011 -0700 |
tree | 4fef14f193b73da2c90456f81563859d43790b65 | |
parent | 21ef2feb1cddfa15f0a88c0838e3c941a84e9c7e [diff] |
mmc: msm_sdcc: Fix issue with runtime PM resume Due to the changes introduced in recent commit 68338b, runtime PM resume is getting called twice while doing platform resume as below - msmsdcc_pm_resume()->msmsdcc_runtime_resume()->mmc_resume_host() ->mmc_claim_host()->msmsdcc_enable()->msmsdcc_runtime_resume This patch fixes this issue by checking the runtime PM state of the device before resuming. CRs-Fixed: 303742 Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>