diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-27 18:48:56 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-28 17:47:35 +0000 |
commit | fff15bef48e846d2670c86c95f8dbc3f84bbe866 (patch) | |
tree | 6ba05672e176c66e19a0ed272e1847cb592f49c1 /drivers/regulator/core.c | |
parent | dd8004af2b0e903b2ee9fce305cb615245fa12ee (diff) | |
download | op-kernel-dev-fff15bef48e846d2670c86c95f8dbc3f84bbe866.zip op-kernel-dev-fff15bef48e846d2670c86c95f8dbc3f84bbe866.tar.gz |
regulator: core: Say what unsupportable voltage constraints are
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/core.c')
-rw-r--r-- | drivers/regulator/core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index e7fffd1..7fbbd82 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -883,7 +883,9 @@ static int machine_constraints_voltage(struct regulator_dev *rdev, /* final: [min_uV..max_uV] valid iff constraints valid */ 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; } |