Currently the ExpressKey Remote battery will persist indefinitely in /sys/class/power_supply. Remove the battery when we stop getting reports from the device.
Also remove some unneccessary code and make an EKR struct name more descriptive.
Only the bugfix in the first patch will be sent to stable.
Aaron Armstrong Skomra (3): HID: wacom: remove the battery when the EKR is off HID: wacom: remove unnecessary 'connected' variable from EKR HID: wacom: struct name cleanup
drivers/hid/wacom.h | 1 + drivers/hid/wacom_sys.c | 44 +++++++++++++++++++++++++++++------------ drivers/hid/wacom_wac.c | 7 +++---- drivers/hid/wacom_wac.h | 4 ++-- 4 files changed, 37 insertions(+), 19 deletions(-)
On Tue, 25 Jul 2023, Aaron Armstrong Skomra wrote:
Currently the ExpressKey Remote battery will persist indefinitely in /sys/class/power_supply. Remove the battery when we stop getting reports from the device.
Also remove some unneccessary code and make an EKR struct name more descriptive.
I have now applied the series. Please look into your mail setup -- the patches in the series were not part of one thread, but separate.
Thanks,
linux-stable-mirror@lists.linaro.org