From: Axel Lin Date: Mon, 17 May 2021 01:03:17 +0000 (+0800) Subject: regulator: fan53555: Fix slew_shift setting for tcs4525 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a7f003147b785d9780ceeac13a8e344927a3b9ea;p=linux.git regulator: fan53555: Fix slew_shift setting for tcs4525 Fix trivial copy-paste mistake. Signed-off-by: Axel Lin Link: https://lore.kernel.org/r/20210517010318.1027949-1-axel.lin@ingics.com Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index 2695be617373c..d582ef3a3aeb3 100644 --- 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;