+41
−0
+3
−0
Loading
stable inclusion from stable-v5.10.203 commit b532bc9b73e603452edfb39bbc50b7d9cbbd939e category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9GXII Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b532bc9b73e603452edfb39bbc50b7d9cbbd939e -------------------------------- [ Upstream commit 8d91f3f8 ] There's a number of drivers (e.g. dw_mmc, meson-gx, mmci, sunxi) using the same mechanism and a private flag vqmmc_enabled to deal with enabling/disabling the vqmmc regulator. Move this to the core and create new helpers mmc_regulator_enable_vqmmc and mmc_regulator_disable_vqmmc. Signed-off-by:Heiner Kallweit <hkallweit1@gmail.com> Acked-by:
Martin Blumenstingl <martin.blumenstingl@googlemail.com> Link: https://lore.kernel.org/r/71586432-360f-9b92-17f6-b05a8a971bc2@gmail.com Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org> Stable-dep-of: 477865af60b2 ("mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>