summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/queue.c
diff options
context:
space:
mode:
authorAl Cooper <alcooperx@gmail.com>2021-01-07 17:15:09 -0500
committerUlf Hansson <ulf.hansson@linaro.org>2021-01-13 12:06:37 +0100
commit5b191dcba719319148eeecf6ed409949fac55b39 (patch)
treea2f341cad096e665b5cfba8dd27fd5104c66f189 /drivers/mmc/core/queue.c
parent1a3ed0dc3594d99ff341ec63865a40519ea24b8d (diff)
downloadlinux-stable-5b191dcba719319148eeecf6ed409949fac55b39.tar.gz
linux-stable-5b191dcba719319148eeecf6ed409949fac55b39.tar.bz2
linux-stable-5b191dcba719319148eeecf6ed409949fac55b39.zip
mmc: sdhci-brcmstb: Fix mmc timeout errors on S5 suspend
Commit e7b5d63a82fe ("mmc: sdhci-brcmstb: Add shutdown callback") that added a shutdown callback to the diver, is causing "mmc timeout" errors on S5 suspend. The problem was that the "remove" was queuing additional MMC commands after the "shutdown" and these caused timeouts as the MMC queues were cleaned up for "remove". The shutdown callback will be changed to calling sdhci-pltfm_suspend which should get better power savings because the clocks will be shutdown. Fixes: e7b5d63a82fe ("mmc: sdhci-brcmstb: Add shutdown callback") Signed-off-by: Al Cooper <alcooperx@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20210107221509.6597-1-alcooperx@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions