|
@@ -158,6 +158,13 @@ static int regulator_check_consumers(struct regulator_dev *rdev,
|
|
|
struct regulator *regulator;
|
|
|
|
|
|
list_for_each_entry(regulator, &rdev->consumer_list, list) {
|
|
|
+ /*
|
|
|
+ * Assume consumers that didn't say anything are OK
|
|
|
+ * with anything in the constraint range.
|
|
|
+ */
|
|
|
+ if (!regulator->min_uV && !regulator->max_uV)
|
|
|
+ continue;
|
|
|
+
|
|
|
if (*max_uV > regulator->max_uV)
|
|
|
*max_uV = regulator->max_uV;
|
|
|
if (*min_uV < regulator->min_uV)
|