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