[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaakmGHo_VWNJsf2ph-EcFY_G_NMVfVFFK7oVUR7Bj_DQ@mail.gmail.com>
Date: Tue, 29 Mar 2022 18:19:55 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Yassine Oudjana <y.oudjana@...tonmail.com>
Cc: Sebastian Reichel <sre@...nel.org>, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power: supply: Reset err after not finding static battery
On Tue, Mar 29, 2022 at 5:34 AM Yassine Oudjana
<y.oudjana@...tonmail.com> wrote:
> Otherwise power_supply_get_battery_info always returns -ENODEV
> on devices that do not have a static battery, even when a simple
> battery is found.
>
> Fixes: c8aee3f41cb8 ("power: supply: Static data for Samsung batteries")
> Signed-off-by: Yassine Oudjana <y.oudjana@...tonmail.com>
Quick and nice fix, thanks a lot!
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists