Re: [PATCH 1/2] power: supply: sbs-battery: Don't ignore the first external power change
From: Sebastian Reichel
Date: Mon May 01 2017 - 07:35:36 EST
On Tue, Apr 25, 2017 at 05:09:04PM +0200, Paul Kocialkowski wrote:
> A mechanism to ignore the first external power change notification was
> put in place years ago to ignore the power_supply_register notification.
> However, this doesn't apply to the current situation anymore, as the
> first notification is always the result of a legitimate power change.
> This removes this deprecated mechanism, which puts back the driver's
> state machine to a sane state (an ignored first notification previously
> caused a charging/discharging status inversion).
> Signed-off-by: Paul Kocialkowski <contact@xxxxxxxx>
Description: PGP signature