diff options
author | Mark Brown <broonie@kernel.org> | 2015-10-06 07:00:38 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-06 07:00:38 -0400 |
commit | 6710f223433588af582c0e4dbecbca72a36c4594 (patch) | |
tree | 1c176df20e587e2a847a6c0371eb239f57c5b280 | |
parent | 049e6dde7e57f0054fdc49102e7ef4830c698b46 (diff) | |
parent | 06423121d9eba0a56b9341cf82b88479017bce14 (diff) |
Merge remote-tracking branch 'regulator/fix/core' into regulator-linus
-rw-r--r-- | drivers/regulator/core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 7849187d91ae..8a34f6acc801 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -1403,6 +1403,10 @@ static int regulator_resolve_supply(struct regulator_dev *rdev) | |||
1403 | return 0; | 1403 | return 0; |
1404 | } | 1404 | } |
1405 | 1405 | ||
1406 | /* Did the lookup explicitly defer for us? */ | ||
1407 | if (ret == -EPROBE_DEFER) | ||
1408 | return ret; | ||
1409 | |||
1406 | if (have_full_constraints()) { | 1410 | if (have_full_constraints()) { |
1407 | r = dummy_regulator_rdev; | 1411 | r = dummy_regulator_rdev; |
1408 | } else { | 1412 | } else { |