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>
1 file changed