summaryrefslogtreecommitdiff
path: root/include/linux/wait_api.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2023-03-11 23:39:55 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2023-03-23 11:38:34 +0100
commit8d91f3f8ae57e6292142ca89f322e90fa0d6ac02 (patch)
treec77bcfd9077df47793f1bd15c6ff7a14974b36a0 /include/linux/wait_api.h
parent2c52e002693dc51a789f54ce72e2f639d7cb1067 (diff)
downloadlinux-next-8d91f3f8ae57e6292142ca89f322e90fa0d6ac02.tar.gz
mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
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>
Diffstat (limited to 'include/linux/wait_api.h')
0 files changed, 0 insertions, 0 deletions