Skip to content
Commit 9cbe0fc8 authored by Marek Vasut's avatar Marek Vasut Committed by Ulf Hansson
Browse files

mmc: host: Prepare host drivers for mmc_regulator_set_vqmmc() returning > 0



Patch all drivers which use mmc_regulator_set_vqmmc() and prepare them for
the fact that mmc_regulator_set_vqmmc() can return a value > 0, which would
happen if the signal voltage switch did NOT happen, because the voltage was
already set correctly.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20200416163649.336967-1-marex@denx.de


[Ulf: Re-worked/simplified the code a bit]
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 098c408b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment