提交 194dbaef 编写于 作者: M Mark Brown

regulator: Lower priority of constraint logging

Some systems have very large numbers of regulators so the constraint
logging done at startup can end up being a very big part of the boot
output which is both verbose and slows things down if the console is
a serial console. Lower to dev_dbg() instead, we may want to provide
a boot parameter to raise this in future but for now people can edit
the source.
Signed-off-by: NMark Brown <broonie@kernel.org>
Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
上级 f114040e
...@@ -828,7 +828,7 @@ static void print_constraints(struct regulator_dev *rdev) ...@@ -828,7 +828,7 @@ static void print_constraints(struct regulator_dev *rdev)
if (!count) if (!count)
sprintf(buf, "no parameters"); sprintf(buf, "no parameters");
rdev_info(rdev, "%s\n", buf); rdev_dbg(rdev, "%s\n", buf);
if ((constraints->min_uV != constraints->max_uV) && if ((constraints->min_uV != constraints->max_uV) &&
!(constraints->valid_ops_mask & REGULATOR_CHANGE_VOLTAGE)) !(constraints->valid_ops_mask & REGULATOR_CHANGE_VOLTAGE))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册