diff options
| author | Marek Vasut <[email protected]> | 2020-04-16 18:36:48 +0200 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2020-05-28 11:20:58 +0200 |
| commit | 17a0751e60b123ce1a266155abf72acd936b7ecc (patch) | |
| tree | 6385c2b1c2f20cf51146dd92b973799c0806d5dc /include/linux/timerqueue.h | |
| parent | 9cbe0fc8cd9c156ff187231dbb38b02ee20fc8c6 (diff) | |
mmc: core: Return 1 from mmc_regulator_set_vqmmc() if switch skipped
Adjust mmc_regulator_set_vqmmc() to return 1 if the voltage switch was
skipped because the regulator voltage was already correct. This allows
drivers to detect such condition and possibly skip various voltage
switching extras.
Signed-off-by: Marek Vasut <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions