Re: [PATCH] HID: hid-input: only ignore 0 battery events for digitizers
From: Dmitry Torokhov
Date: Wed Oct 15 2025 - 00:31:13 EST
Hi Jiri,
On Tue, Oct 14, 2025 at 12:25:25PM +0200, Jiri Kosina wrote:
>
> Hi Dmitry,
>
> thanks for the fix. It doesn't apply cleanly on a reasonably recent tree
> though, as since e94536e1d1818b09 we're already propagating usage to
> hidinput_update_battery(), and we're issuing explicit call to
> power_supply_changed() as well.
>
> Could you please refresh on a more recent codebase and resubmit? I could
> do that myself, but I guess you also have a way to test the patch with
> your use-case ... ?
Sorry about that, I made the patch on top of my tree which lags behind.
I just sent a v2 rebased on top of linux-next.
I actually do not have the hardware to test, we have to rely on 卢国宏
to do it for us.
Thanks.
--
Dmitry