diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2023-03-11 23:39:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-13 18:18:15 +0100 |
commit | a1f29e995fd7957c6fc1c898a6f22c24bf3524c8 (patch) | |
tree | ac5efe9c960c7f8801b5ad97e412446966dcb11d /Documentation/crypto/api-rng.rst | |
parent | 05918dec9a1ee5f1924a6b9b3779ce8e8ca32e44 (diff) |
mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
[ Upstream commit 8d91f3f8ae57e6292142ca89f322e90fa0d6ac02 ]
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>
Diffstat (limited to 'Documentation/crypto/api-rng.rst')
0 files changed, 0 insertions, 0 deletions