summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/dw_mmc-pltfm.c
diff options
context:
space:
mode:
authorMantas Pucka <mantas@8devices.com>2024-03-21 14:30:01 +0000
committerUlf Hansson <ulf.hansson@linaro.org>2024-04-02 12:24:19 +0200
commitf8def10f73a516b771051a2f70f2f0446902cb4f (patch)
tree3d5c4fa62bf8660d9798fb73582b97ed884bb40d /drivers/mmc/host/dw_mmc-pltfm.c
parent39cd87c4eb2b893354f3b850f916353f2658ae6f (diff)
downloadlinux-stable-f8def10f73a516b771051a2f70f2f0446902cb4f.tar.gz
linux-stable-f8def10f73a516b771051a2f70f2f0446902cb4f.tar.bz2
linux-stable-f8def10f73a516b771051a2f70f2f0446902cb4f.zip
mmc: sdhci-msm: pervent access to suspended controller
Generic sdhci code registers LED device and uses host->runtime_suspended flag to protect access to it. The sdhci-msm driver doesn't set this flag, which causes a crash when LED is accessed while controller is runtime suspended. Fix this by setting the flag correctly. Cc: stable@vger.kernel.org Fixes: 67e6db113c90 ("mmc: sdhci-msm: Add pm_runtime and system PM support") Signed-off-by: Mantas Pucka <mantas@8devices.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20240321-sdhci-mmc-suspend-v1-1-fbc555a64400@8devices.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc-pltfm.c')
0 files changed, 0 insertions, 0 deletions