Skip to content

Commit 3f7b55b

Browse files
committed
Merge tag 'regulator-fix-v4.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
Pull regulator fix from Mark Brown: "Fix ramp_delay warnings for v4.9 A new warning was introduced for missing information about the time that regulators take to power on in v4.9. This is in theory a real issue but for most practical regulators the communication overhead of talking to the device is greater than the ramp time so a lot of drivers don't set it and the warning is far too noisy without identifying practical issues. Just remove the warning for now" * tag 'regulator-fix-v4.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: core: silence warning: "VDD1: ramp_delay not set"
2 parents 80a306d + ba14fa1 commit 3f7b55b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2754,7 +2754,7 @@ static int _regulator_set_voltage_time(struct regulator_dev *rdev,
27542754
ramp_delay = rdev->desc->ramp_delay;
27552755

27562756
if (ramp_delay == 0) {
2757-
rdev_warn(rdev, "ramp_delay not set\n");
2757+
rdev_dbg(rdev, "ramp_delay not set\n");
27582758
return 0;
27592759
}
27602760

0 commit comments

Comments
 (0)