Skip to content

Commit

Permalink
bq2419x-charger: correct soc regulation max limit
Browse files Browse the repository at this point in the history
  • Loading branch information
CTCaer committed Jul 20, 2021
1 parent 0f357ee commit 5301909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/supply/bq2419x-charger.c
Expand Up @@ -540,7 +540,7 @@ static int bq2419x_charger_init(struct bq2419x_chip *bq2419x)
static int bq2419x_soc_regulation_control(struct bq2419x_chip *bq2419x)
{
int limit_min = bq2419x->soc_reg_limit - 5;
int limit_max = bq2419x->soc_reg_limit - 5;
int limit_max = bq2419x->soc_reg_limit + 5;
int res, val, battery_soc;
unsigned int charge_val;
bool set_value = false;
Expand Down

0 comments on commit 5301909

Please sign in to comment.