diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2018-01-09 10:52:18 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-01-17 14:30:43 +0300 |
commit | 5c3c6126b62d29f539a8712c65c58afc9c9d2c91 (patch) | |
tree | e4331c5f0021b0c41720836206ed9bf73e6185a4 /drivers/mmc/host/wbsd.h | |
parent | 84362d79f436f12d1d9b9640a633de1b684a2609 (diff) | |
download | linux-5c3c6126b62d29f539a8712c65c58afc9c9d2c91.tar.xz |
mmc: sdhci-pci: Stop calling sdhci_enable_irq_wakeups()
sdhci_enable_irq_wakeups() is already called by sdhci_suspend_host() so
sdhci-pci should not need to call it. However sdhci_suspend_host() only
calls it if wakeups are enabled, and sdhci-pci does not enable them until
after calling sdhci_suspend_host(). So move the calls to
sdhci_pci_init_wakeup() before calling sdhci_suspend_host(), and
stop calling sdhci_enable_irq_wakeups(). That results in some
simplification because sdhci_pci_suspend_host() and
__sdhci_pci_suspend_host() no longer need to be separate functions.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/wbsd.h')
0 files changed, 0 insertions, 0 deletions