diff options
author | Dong Aisheng <b29396@freescale.com> | 2014-06-24 17:25:03 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:23:27 +0800 |
commit | bb3a025c044b86f6b6033e09d237f85a9bbc8629 (patch) | |
tree | 3f0a7d292bf5a5947d2bb51dc970c605636922b4 /drivers/mmc/host/sdhci-esdhc-imx.c | |
parent | ce64cc81005461e451c2e947eb99fdcd231dbee8 (diff) |
MLK-11685-6 mmc: sdhci-esdhc-imx: do not enable wakeup by default
After adding mega fast support, the default enabled usdhc wakeup will block
M/F to gate off power domain.
To avoid this issue, we only claim wakeup capability and reply on user to enable
it via sysfs according to real needs.
The drawback of such change is that for SDIO WiFi Wakeup On Wireless feature,
User has to enable both uSDHC and WiFi WoW wakeup mannually to make
WoW work well.
BTW, due to the wakeup feature is controller itself, so we do not need to reply
on WiFi PM flags to enable it.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit 58f91ff6f6719fef44f5122ae1d8a5df7e0061d5)
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
Conflicts:
drivers/mmc/host/sdhci-esdhc-imx.c
Diffstat (limited to 'drivers/mmc/host/sdhci-esdhc-imx.c')
-rw-r--r-- | drivers/mmc/host/sdhci-esdhc-imx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index c3bf03db7b9f..84bea5e91518 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -1348,6 +1348,8 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev) sdhci_esdhc_imx_hwinit(host); + device_set_wakeup_capable(&pdev->dev, 1); + err = sdhci_add_host(host); if (err) goto disable_ahb_clk; |