mmc: 8064: Disable runtime PM for SDCC on Simulator
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-apq8064.c b/arch/arm/mach-msm/board-apq8064.c
index 2d6e535..dc53bc1 100644
--- a/arch/arm/mach-msm/board-apq8064.c
+++ b/arch/arm/mach-msm/board-apq8064.c
@@ -81,10 +81,14 @@
static void __init apq8064_init_mmc(void)
{
if (machine_is_apq8064_sim()) {
- if (apq8064_sdc1_pdata)
+ if (apq8064_sdc1_pdata) {
apq8064_sdc1_pdata->disable_bam = true;
- if (apq8064_sdc3_pdata)
+ apq8064_sdc1_pdata->disable_runtime_pm = true;
+ }
+ if (apq8064_sdc3_pdata) {
apq8064_sdc3_pdata->disable_bam = true;
+ apq8064_sdc3_pdata->disable_runtime_pm = true;
+ }
}
apq8064_add_sdcc(1, apq8064_sdc1_pdata);
apq8064_add_sdcc(3, apq8064_sdc3_pdata);