Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'regulator-fix-v6.17-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator

Pull regulator fix from Mark Brown:
"This fixes an issue with the newly added code for handling large
voltage changes on regulators which require that individual voltage
changes cover a limited range, the check for convergence was broken"

* tag 'regulator-fix-v6.17-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
regulator: core: correct convergence check in regulator_set_voltage()

+1 -1
+1 -1
drivers/regulator/core.c
··· 3884 3884 new_delta = ret; 3885 3885 3886 3886 /* check that voltage is converging quickly enough */ 3887 - if (new_delta - delta > rdev->constraints->max_uV_step) { 3887 + if (delta - new_delta < rdev->constraints->max_uV_step) { 3888 3888 ret = -EWOULDBLOCK; 3889 3889 goto out; 3890 3890 }