From 4f0afb8a5560a02ba61f2beb7c849fb0abac2808 Mon Sep 17 00:00:00 2001 From: Shawn Lin Date: Thu, 21 Feb 2019 10:36:06 +0800 Subject: [PATCH] mmc: sdhci-of-arasan: wakeup genpd in probe 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 --- drivers/mmc/host/sdhci-of-arasan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c index 3b8d456e857d..996074dc63c5 100644 --- a/drivers/mmc/host/sdhci-of-arasan.c +++ b/drivers/mmc/host/sdhci-of-arasan.c @@ -1641,6 +1641,8 @@ static int sdhci_arasan_probe(struct platform_device *pdev) if (ret) goto err_add_host; + device_init_wakeup(&pdev->dev, 1); + return 0; err_add_host: