Re: [PATCH] power: supply: bq27xxx_battery: do not update cached flags prematurely

From: Sebastian Reichel
Date: Thu Feb 20 2025 - 20:23:02 EST


From: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>


On Mon, 25 Nov 2024 17:29:30 +0200, Sicelo A. Mhlongo wrote:
> Commit 243f8ffc883a1 ("power: supply: bq27xxx_battery: Notify also about
> status changes") intended to notify userspace when the status changes,
> based on the flags register. However, the cached state is updated too
> early, before the flags are tested for any changes. Remove the premature
> update.
>
>
> [...]

Applied, thanks!

[1/1] power: supply: bq27xxx_battery: do not update cached flags prematurely
commit: 45291874a762dbb12a619dc2efaf84598859007a

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>