diff options
author | Fabrizio Castro <fabrizio.castro@bp.renesas.com> | 2017-09-22 12:22:17 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-10-30 11:46:03 +0100 |
commit | a3d95d1d4007b1fefd6d8b12db26fda05de05cfb (patch) | |
tree | d92387fe261b571f3b578dbb99cd8cc26fa6f475 /drivers/mmc/host/sdhci-msm.c | |
parent | mmc: sunxi: drop superfluous error message (diff) | |
download | linux-dev-a3d95d1d4007b1fefd6d8b12db26fda05de05cfb.tar.xz linux-dev-a3d95d1d4007b1fefd6d8b12db26fda05de05cfb.zip |
mmc: tmio: check mmc_regulator_get_supply return value
mmc_regulator_get_supply returns -EPROBE_DEFER if either vmmc or
vqmmc regulators had their probing deferred.
vqmmc regulator is needed by UHS to work properly, therefore this
patch checks the value returned by mmc_regulator_get_supply to
make sure we have a reference to both vmmc and vqmmc (if found in
the DT).
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-msm.c')
0 files changed, 0 insertions, 0 deletions