Loading drivers/power/supply/qcom/qpnp-fg-gen3.c +1 −1 Original line number Diff line number Diff line Loading @@ -2670,7 +2670,7 @@ static void clear_cycle_counter(struct fg_chip *chip) } rc = fg_sram_write(chip, CYCLE_COUNT_WORD, CYCLE_COUNT_OFFSET, (u8 *)&chip->cyc_ctr.count, sizeof(chip->cyc_ctr.count) / sizeof(u8 *), sizeof(chip->cyc_ctr.count) / (sizeof(u8 *)), FG_IMA_DEFAULT); if (rc < 0) pr_err("failed to clear cycle counter rc=%d\n", rc); Loading Loading
drivers/power/supply/qcom/qpnp-fg-gen3.c +1 −1 Original line number Diff line number Diff line Loading @@ -2670,7 +2670,7 @@ static void clear_cycle_counter(struct fg_chip *chip) } rc = fg_sram_write(chip, CYCLE_COUNT_WORD, CYCLE_COUNT_OFFSET, (u8 *)&chip->cyc_ctr.count, sizeof(chip->cyc_ctr.count) / sizeof(u8 *), sizeof(chip->cyc_ctr.count) / (sizeof(u8 *)), FG_IMA_DEFAULT); if (rc < 0) pr_err("failed to clear cycle counter rc=%d\n", rc); Loading