Skip to content
Commit 56b99a52 authored by Mantas Pucka's avatar Mantas Pucka Committed by Greg Kroah-Hartman
Browse files

mmc: sdhci-msm: pervent access to suspended controller

commit f8def10f upstream.

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: 67e6db11

 ("mmc: sdhci-msm: Add pm_runtime and system PM support")
Signed-off-by: default avatarMantas Pucka <mantas@8devices.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20240321-sdhci-mmc-suspend-v1-1-fbc555a64400@8devices.com
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f6c5d21d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment