diff options
| author | H. Nikolaus Schaller <hns@goldelico.com> | 2015-12-17 05:12:54 -0500 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2016-01-07 10:38:27 -0500 |
| commit | 099867a16a0fa9fd5aafc32e3b1a6f8a90f17834 (patch) | |
| tree | 834bfc15dd7054aceb7bfcaa694eea797f832321 | |
| parent | 549d7b317c761dbf4ed0c2945aec3acc9ca7ae14 (diff) | |
power: bq27xxx: fix register numbers of bq27500
bug: according to data sheet some register numbers are wrong.
tested: no
Fixes: d74534c27775 ("power: bq27xxx_battery: Add support for additional bq27xxx family devices")
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Acked-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
| -rw-r--r-- | drivers/power/bq27xxx_battery.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/bq27xxx_battery.c b/drivers/power/bq27xxx_battery.c index 0b95542e286f..73b647b493ba 100644 --- a/drivers/power/bq27xxx_battery.c +++ b/drivers/power/bq27xxx_battery.c | |||
| @@ -155,10 +155,10 @@ static u8 bq27500_regs[] = { | |||
| 155 | INVALID_REG_ADDR, /* TTECP - NA */ | 155 | INVALID_REG_ADDR, /* TTECP - NA */ |
| 156 | 0x0c, /* NAC */ | 156 | 0x0c, /* NAC */ |
| 157 | 0x12, /* LMD(FCC) */ | 157 | 0x12, /* LMD(FCC) */ |
| 158 | 0x1e, /* CYCT */ | 158 | 0x2a, /* CYCT */ |
| 159 | INVALID_REG_ADDR, /* AE - NA */ | 159 | INVALID_REG_ADDR, /* AE - NA */ |
| 160 | 0x20, /* SOC(RSOC) */ | 160 | 0x2c, /* SOC(RSOC) */ |
| 161 | 0x2e, /* DCAP(ILMD) */ | 161 | 0x3c, /* DCAP(ILMD) */ |
| 162 | INVALID_REG_ADDR, /* AP - NA */ | 162 | INVALID_REG_ADDR, /* AP - NA */ |
| 163 | }; | 163 | }; |
| 164 | 164 | ||
