]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: sdhci-brcmstb: add cqhci suspend/resume to PM ops
authorKamal Dasu <kamal.dasu@broadcom.com>
Tue, 11 Mar 2025 16:59:35 +0000 (12:59 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Mar 2025 20:59:01 +0000 (21:59 +0100)
commitbe320c2666a52b00ca9f6849e2f2d1cd717d45c2
tree42830ec295a2c0d0516832e2942e35f3dde649bb
parentea034e24699bea02d4c4496ff1374bd1af0cb250
mmc: sdhci-brcmstb: add cqhci suspend/resume to PM ops

commit 723ef0e20dbb2aa1b5406d2bb75374fc48187daa upstream.

cqhci timeouts observed on brcmstb platforms during suspend:
  ...
  [  164.832853] mmc0: cqhci: timeout for tag 18
  ...

Adding cqhci_suspend()/resume() calls to disable cqe
in sdhci_brcmstb_suspend()/resume() respectively to fix
CQE timeouts seen on PM suspend.

Fixes: d46ba2d17f90 ("mmc: sdhci-brcmstb: Add support for Command Queuing (CQE)")
Cc: stable@vger.kernel.org
Signed-off-by: Kamal Dasu <kamal.dasu@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://lore.kernel.org/r/20250311165946.28190-1-kamal.dasu@broadcom.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-brcmstb.c