[Gta04-owner] [PATCH 2/2] power:bq27xxx: fix register numbers of bq27500
Andrew F. Davis
afd at ti.com
Thu Dec 24 03:52:28 CET 2015
On 12/17/2015 04:12 AM, H. Nikolaus Schaller wrote:
> bug: according to data sheet some register numbers are wrong.
>
> tested: no
>
> Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>
Indeed they are, good catch.
Acked-by: Andrew F. Davis <afd at ti.com>
> ---
> drivers/power/bq27xxx_battery.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/power/bq27xxx_battery.c b/drivers/power/bq27xxx_battery.c
> index e54a125..f9a5f4f 100644
> --- a/drivers/power/bq27xxx_battery.c
> +++ b/drivers/power/bq27xxx_battery.c
> @@ -198,10 +198,10 @@ static u8 bq27500_regs[] = {
> INVALID_REG_ADDR, /* TTECP - NA */
> 0x0c, /* NAC */
> 0x12, /* LMD(FCC) */
> - 0x1e, /* CYCT */
> + 0x2a, /* CYCT */
> INVALID_REG_ADDR, /* AE - NA */
> - 0x20, /* SOC(RSOC) */
> - 0x2e, /* DCAP(ILMD) */
> + 0x2c, /* SOC(RSOC) */
> + 0x3c, /* DCAP(ILMD) */
> INVALID_REG_ADDR, /* AP - NA */
> };
>
>
More information about the Gta04-owner
mailing list