On Tue, 8 Sep 2020 at 22:54, Dan Murphy <dmurphy@xxxxxx> wrote: > > Krzysztof > > On 9/8/20 3:13 PM, Krzysztof Kozlowski wrote: > > Commit 6f24ff97e323 ("power: supply: bq27xxx_battery: Add the > > BQ27Z561 Battery monitor") and commit d74534c27775 ("power: > > bq27xxx_battery: Add support for additional bq27xxx family devices") > > added support for new device types by copying most of the code and > > adding necessary quirks. > > > > However they did not copy the code in bq27xxx_battery_status() > > responsible for returning POWER_SUPPLY_STATUS_NOT_CHARGING. > > > > Unify the bq27xxx_battery_status() so for all types when charger is > > supplied, it will return "not charging" status. > > If this is a fix then please populate the Fixes tag. > > But not sure how both commits are tied here I am not convinced that it is a fix. It's rather missing functionality on these new devices. The commits did not break anything. They just did not implement "not charging" for new types. Best Regards, Krzysztof