[PATCH v3 2/3] mmc: dw_mmc: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch

Andrew Bresticker abrestic at chromium.org
Mon Dec 15 17:12:52 PST 2014


Doug,

On Mon, Dec 15, 2014 at 4:22 PM, Doug Anderson <dianders at chromium.org> wrote:
> We've introduced a new helper in the MMC core:
> mmc_regulator_set_vqmmc().  Let's use this in dw_mmc.  Using this new
> helper has some advantages:
>
> 1. We get the mmc_regulator_set_vqmmc() behavior of trying to match
>    VQMMC and VMMC when the signal voltage is 3.3V.  This ensures max
>    compatibility.
>
> 2. We get rid of a few more warnings when probing unsupported
>    voltages.
>
> 3. We get rid of some non-dw_mmc specific code in dw_mmc.
>
> Signed-off-by: Doug Anderson <dianders at chromium.org>

Reviewed-by: Andrew Bresticker <abrestic at chromium.org>



More information about the linux-arm-kernel mailing list