[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <be410e440d889b2e46208b523bdb890e860c5046.1504037446.git.hns@goldelico.com>
Date: Tue, 29 Aug 2017 22:10:47 +0200
From: "H. Nikolaus Schaller" <hns@...delico.com>
To: Sebastian Reichel <sre@...nel.org>,
Liam Breck <liam@...workimprov.net>
Cc: Pali Rohár <pali.rohar@...il.com>,
"Andrew F. Davis" <afd@...com>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Discussions about the Letux Kernel
<letux-kernel@...nphoenux.org>, kernel@...a-handheld.com,
"H. Nikolaus Schaller" <hns@...delico.com>
Subject: [PATCH resend v2] power: supply: bq27xxx: enable writing capacity values for bq27421
Tested on Pyra prototype with bq27421.
Signed-off-by: H. Nikolaus Schaller <hns@...delico.com>
---
drivers/power/supply/bq27xxx_battery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/supply/bq27xxx_battery.c b/drivers/power/supply/bq27xxx_battery.c
index b6c3120ca5ad..e3c878ef7c7e 100644
--- a/drivers/power/supply/bq27xxx_battery.c
+++ b/drivers/power/supply/bq27xxx_battery.c
@@ -688,7 +688,7 @@ static struct bq27xxx_dm_reg bq27545_dm_regs[] = {
#define bq27545_dm_regs 0
#endif
-#if 0 /* not yet tested */
+#if 1 /* tested on Pyra */
static struct bq27xxx_dm_reg bq27421_dm_regs[] = {
[BQ27XXX_DM_DESIGN_CAPACITY] = { 82, 10, 2, 0, 8000 },
[BQ27XXX_DM_DESIGN_ENERGY] = { 82, 12, 2, 0, 32767 },
--
2.12.2
Powered by blists - more mailing lists