diff options
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 782c0ee3c925..154cbf83c1ab 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -1681,6 +1681,16 @@ int sdhci_resume_host(struct sdhci_host *host) | |||
1681 | 1681 | ||
1682 | EXPORT_SYMBOL_GPL(sdhci_resume_host); | 1682 | EXPORT_SYMBOL_GPL(sdhci_resume_host); |
1683 | 1683 | ||
1684 | void sdhci_enable_irq_wakeups(struct sdhci_host *host) | ||
1685 | { | ||
1686 | u8 val; | ||
1687 | val = sdhci_readb(host, SDHCI_WAKE_UP_CONTROL); | ||
1688 | val |= SDHCI_WAKE_ON_INT; | ||
1689 | sdhci_writeb(host, val, SDHCI_WAKE_UP_CONTROL); | ||
1690 | } | ||
1691 | |||
1692 | EXPORT_SYMBOL_GPL(sdhci_enable_irq_wakeups); | ||
1693 | |||
1684 | #endif /* CONFIG_PM */ | 1694 | #endif /* CONFIG_PM */ |
1685 | 1695 | ||
1686 | /*****************************************************************************\ | 1696 | /*****************************************************************************\ |