提交 fff15bef 编写于 作者: M Mark Brown

regulator: core: Say what unsupportable voltage constraints are

Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 dd8004af
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册