Let's keep genpd for sdhci alive while entering deep
sleep which gte me out of yapping around.
Change-Id: I0da20b417621d277745bafd53d1ee461aae72e11
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
if (ret)
goto err_add_host;
+ device_init_wakeup(&pdev->dev, 1);
+
return 0;
err_add_host:
free_irq(host->irq, host);
} else {
sdhci_enable_irq_wakeups(host);
- enable_irq_wake(host->irq);
}
return 0;
}
return ret;
} else {
sdhci_disable_irq_wakeups(host);
- disable_irq_wake(host->irq);
}
sdhci_enable_card_detection(host);