projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8280a5
)
regulator: qcom_smd: add get_voltage to MP5496
author
Robert Marko
<robimarko@gmail.com>
Sat, 4 Jun 2022 19:32:59 +0000
(21:32 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 7 Jun 2022 19:38:13 +0000
(20:38 +0100)
Add the get_voltage OP to MP5496 ops using the generic rpm_reg_get_voltage.
Signed-off-by: Robert Marko <robimarko@gmail.com>
Link:
https://lore.kernel.org/r/20220604193300.125758-1-robimarko@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom_smd-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/qcom_smd-regulator.c
b/drivers/regulator/qcom_smd-regulator.c
index
7dff94a
..
a73fbbf
100644
(file)
--- a/
drivers/regulator/qcom_smd-regulator.c
+++ b/
drivers/regulator/qcom_smd-regulator.c
@@
-205,6
+205,7
@@
static const struct regulator_ops rpm_mp5496_ops = {
.is_enabled = rpm_reg_is_enabled,
.list_voltage = regulator_list_voltage_linear_range,
+ .get_voltage = rpm_reg_get_voltage,
.set_voltage = rpm_reg_set_voltage,
};