From e2ef328aa45a95b0f230d032ad516b6b51640d72 Mon Sep 17 00:00:00 2001 From: "Mauro (mdrjr) Ribeiro" Date: Tue, 21 Mar 2023 14:16:58 -0300 Subject: [PATCH] drivers/regulator: rk808: lower the steps to find voltage --- drivers/regulator/rk808-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c index 127dc2e2e690..7025e6377c35 100644 --- a/drivers/regulator/rk808-regulator.c +++ b/drivers/regulator/rk808-regulator.c @@ -61,7 +61,7 @@ #define RK808_SLP_SET_OFF_REG_OFFSET 2 /* max steps for increase voltage of Buck1/2, equal 100mv*/ -#define MAX_STEPS_ONE_TIME 8 +#define MAX_STEPS_ONE_TIME 2 #define ENABLE_MASK(id) (BIT(id) | BIT(4 + (id))) #define DISABLE_VAL(id) (BIT(4 + (id)))