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:
Axel Lin
2021-05-17 09:03:17 +08:00
committed by Tao Huang
parent c998ab0bed
commit 92d2f71eee

View File

@@ -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;