mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
UPSTREAM: regulator: fan53555: Fix slew_shift setting for tcs4525
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>
(cherry picked from commit a7f003147b)
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I380536fe8ced404f045745301b538806d7b1f50d
This commit is contained in:
@@ -382,7 +382,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;
|
||||
|
||||
Reference in New Issue
Block a user