regulator: core: Say what unsupportable voltage constraints are
PATCH 1/1 regulator: core: Say what unsupportable voltage constraints are
Signed-off-by Mark Brown <[email protected]>
--- drivers/regulator/core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/regulator/core.c +3 -1
@@ -880,7 +880,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 ; }
Signature · 1 line
1.7.10.4