Commit fff15bef authored by Mark Brown's avatar Mark Brown

regulator: core: Say what unsupportable voltage constraints are

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent dd8004af
...@@ -883,7 +883,9 @@ static int machine_constraints_voltage(struct regulator_dev *rdev, ...@@ -883,7 +883,9 @@ static int machine_constraints_voltage(struct regulator_dev *rdev,
/* final: [min_uV..max_uV] valid iff constraints valid */ /* final: [min_uV..max_uV] valid iff constraints valid */
if (max_uV < min_uV) { if (max_uV < min_uV) {
rdev_err(rdev, "unsupportable voltage constraints\n"); rdev_err(rdev,
"unsupportable voltage constraints %u-%uuV\n",
min_uV, max_uV);
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment