projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7075359
)
regulator: fan53555: Fix slew_shift setting for tcs4525
author
Axel Lin
<axel.lin@ingics.com>
Mon, 17 May 2021 01:03:17 +0000
(09:03 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 19 May 2021 13:19:11 +0000
(14:19 +0100)
Fix trivial copy-paste mistake.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link:
https://lore.kernel.org/r/20210517010318.1027949-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/fan53555.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/fan53555.c
b/drivers/regulator/fan53555.c
index 2695be617373cef020041caf35af2b8b9eddfcc5..d582ef3a3aeb397ea75b8fccab900cb5617c5d61 100644
(file)
--- a/
drivers/regulator/fan53555.c
+++ b/
drivers/regulator/fan53555.c
@@
-376,7
+376,7
@@
static int fan53526_voltages_setup_tcs(struct fan53555_device_info *di)
case TCS4525_CHIP_ID_12:
di->slew_reg = TCS4525_TIME;
di->slew_mask = TCS_SLEW_MASK;
- di->slew_shift = TCS_SLEW_
MASK
;
+ di->slew_shift = TCS_SLEW_
SHIFT
;
/* Init voltage range and step */
di->vsel_min = 600000;