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-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator

Pull regulator fix from Mark Brown:
"One simple fix for the pm8008 driver for poor error handling,
switching to use a helper which does the right thing in the
affected case"

* tag 'regulator-fix-v6.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
regulator: pm8008: fix probe failure due to negative voltage selector

+1 -1
+1 -1
drivers/regulator/qcom-pm8008-regulator.c
··· 96 96 97 97 uV = le16_to_cpu(val) * 1000; 98 98 99 - return (uV - preg->desc.min_uV) / preg->desc.uV_step; 99 + return regulator_map_voltage_linear_range(rdev, uV, INT_MAX); 100 100 } 101 101 102 102 static const struct regulator_ops pm8008_regulator_ops = {