Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 099867a1 authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller Committed by Sebastian Reichel
Browse files

power: bq27xxx: fix register numbers of bq27500



bug: according to data sheet some register numbers are wrong.

tested: no

Fixes: d74534c2 ("power: bq27xxx_battery: Add support for additional bq27xxx family devices")
Signed-off-by: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Acked-by: default avatarAndrew F. Davis <afd@ti.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 549d7b31
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -155,10 +155,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	*/
};