Merge remote-tracking branch 'regulator/fix/core' into regulator-linus
authorMark Brown <broonie@kernel.org>
Tue, 6 Oct 2015 11:00:38 +0000 (12:00 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 6 Oct 2015 11:00:38 +0000 (12:00 +0100)
drivers/regulator/core.c

index 7849187..8a34f6a 100644 (file)
@@ -1403,6 +1403,10 @@ static int regulator_resolve_supply(struct regulator_dev *rdev)
                        return 0;
                }
 
+               /* Did the lookup explicitly defer for us? */
+               if (ret == -EPROBE_DEFER)
+                       return ret;
+
                if (have_full_constraints()) {
                        r = dummy_regulator_rdev;
                } else {