Browse Source

Merge remote-tracking branch 'regulator/fix/core' into regulator-linus

Mark Brown 10 years ago
parent
commit
6710f22343
1 changed files with 4 additions and 0 deletions
  1. 4 0
      drivers/regulator/core.c

+ 4 - 0
drivers/regulator/core.c

@@ -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 {