regulator: max8973: Fix up ramp_delay for MAX8973_RAMP_25mV_PER_US case
PATCH 1/1 regulator: max8973: Fix up ramp_delay for MAX8973_RAMP_25mV_PER_US case
Fix trivial typo.
Signed-off-by Axel Lin <[email protected]>
---
Hi Laxman,
This looks like a typo, can you confirm?
Thanks,
Axel
drivers/regulator/max8973-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/regulator/max8973-regulator.c +1 -1
@@ -312,7 +312,7 @@ static int max8973_init_dcdc(struct max8973_chip *max, max->desc.ramp_delay =12000 ;break ;case MAX8973_RAMP_25mV_PER_US: - max->desc.ramp_delay =252000 ; + max->desc.ramp_delay =25000 ;break ;case MAX8973_RAMP_50mV_PER_US: max->desc.ramp_delay =50000 ;
Signature · 1 line
2.1.0
Quoted 2 lines · Axel Lin
This looks like a typo, can you confirm?
Ooops, silly mistake..
yes, it is typo and same exist on my downstream code also. Thanks for correction.
Reviewed-by Laxman Dewangan <[email protected]>
Quoted 1 line · Axel Lin
Fix trivial typo.
Applied, thanks.