[PATCH 1/2] mmc: core: add helpers mmc_regulator_enable/disable_vqmmc

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sun Mar 12 13:28:00 PDT 2023


On Sat, Mar 11, 2023 at 11:41 PM Heiner Kallweit <hkallweit1 at gmail.com> wrote:
>
> 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 at gmail.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>



More information about the linux-arm-kernel mailing list