Linux Power Management development
 help / color / mirror / Atom feed
From: Phil Reid <preid@electromag.com.au>
To: sre@kernel.org, preid@electromag.com.au,
	linux-pm@vger.kernel.org, posted@heine.so
Subject: [PATCH v2 0/3] power: supply: sbs-battery: Add delay when changing capacity mode
Date: Tue, 11 Jul 2017 17:43:40 +0800	[thread overview]
Message-ID: <1499766223-130934-1-git-send-email-preid@electromag.com.au> (raw)

This is based on Michael Heinemann's patch:
"sbs-battery: correct capacity mode selection bits"

First two are housing keep / cleanup.
As reported by Michael with his patch he found the mode didn't always change.
I found adding a delay fixed the problem for several Insipered Energy SBS 
compatible batteries I have on hand.

Changes from v2:
- power: supply: sbs-battery: sort includes
  - Remove errousnous chunk
- power: supply: sbs-battery: Don't reset mode in get_battery_capacity
  - drop patch as it needs more thought

Phil Reid (3):
  power: supply: sbs-battery: Remove FSF mailing address from comments
  power: supply: sbs-battery: sort includes
  power: supply: sbs-battery: Add delay when changing capacity mode bit

 drivers/power/supply/sbs-battery.c | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

-- 
1.8.3.1

             reply	other threads:[~2017-07-11  9:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-11  9:43 Phil Reid [this message]
2017-07-11  9:43 ` [PATCH v2 1/3] power: supply: sbs-battery: Remove FSF mailing address from comments Phil Reid
2017-07-11  9:43 ` [PATCH v2 2/3] power: supply: sbs-battery: sort includes Phil Reid
2017-07-11  9:43 ` [PATCH v2 3/3] power: supply: sbs-battery: Add delay when changing capacity mode bit Phil Reid
2017-07-11 11:31   ` Michael Heinemann
2017-07-19  2:16     ` Phil Reid
2017-07-25  9:32 ` [PATCH v2 0/3] power: supply: sbs-battery: Add delay when changing capacity mode Sebastian Reichel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1499766223-130934-1-git-send-email-preid@electromag.com.au \
    --to=preid@electromag.com.au \
    --cc=linux-pm@vger.kernel.org \
    --cc=posted@heine.so \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox