projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 5.10 to 5.10.143
[openwrt/openwrt.git]
/
target
/
linux
/
at91
/
patches-5.10
/
127-regulator-core-validate-selector-against-linear_min_.patch
diff --git
a/target/linux/at91/patches-5.10/127-regulator-core-validate-selector-against-linear_min_.patch
b/target/linux/at91/patches-5.10/127-regulator-core-validate-selector-against-linear_min_.patch
index 712cdac5dd0505e545ef8c49c3961c66d9ecf6ee..14eedb094c962a5688679319777ceca63be9420f 100644
(file)
--- a/
target/linux/at91/patches-5.10/127-regulator-core-validate-selector-against-linear_min_.patch
+++ b/
target/linux/at91/patches-5.10/127-regulator-core-validate-selector-against-linear_min_.patch
@@
-20,7
+20,7
@@
Signed-off-by: Mark Brown <broonie@kernel.org>
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
-@@ -29
87,7 +2987
,8 @@ static int _regulator_list_voltage(struc
+@@ -29
92,7 +2992
,8 @@ static int _regulator_list_voltage(struc
return rdev->desc->fixed_uV;
if (ops->list_voltage) {
return rdev->desc->fixed_uV;
if (ops->list_voltage) {
@@
-30,7
+30,7
@@
Signed-off-by: Mark Brown <broonie@kernel.org>
return -EINVAL;
if (lock)
regulator_lock(rdev);
return -EINVAL;
if (lock)
regulator_lock(rdev);
-@@ -31
38,7 +3139
,8 @@ int regulator_list_hardware_vsel(struct
+@@ -31
43,7 +3144
,8 @@ int regulator_list_hardware_vsel(struct
struct regulator_dev *rdev = regulator->rdev;
const struct regulator_ops *ops = rdev->desc->ops;
struct regulator_dev *rdev = regulator->rdev;
const struct regulator_ops *ops = rdev->desc->ops;
@@
-40,7
+40,7
@@
Signed-off-by: Mark Brown <broonie@kernel.org>
return -EINVAL;
if (ops->set_voltage_sel != regulator_set_voltage_sel_regmap)
return -EOPNOTSUPP;
return -EINVAL;
if (ops->set_voltage_sel != regulator_set_voltage_sel_regmap)
return -EOPNOTSUPP;
-@@ -406
1,6 +4063
,9 @@ int regulator_set_voltage_time(struct re
+@@ -406
6,6 +4068
,9 @@ int regulator_set_voltage_time(struct re
for (i = 0; i < rdev->desc->n_voltages; i++) {
/* We only look for exact voltage matches here */
for (i = 0; i < rdev->desc->n_voltages; i++) {
/* We only look for exact voltage matches here */