All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] HID: avoid setting up battery timer when not needed in hid-apple and magicmouse
@ 2025-06-25 14:16 Aditya Garg
  2025-06-25 14:16 ` [PATCH 1/2] HID: apple: avoid setting up battery timer for devices without battery Aditya Garg
  2025-06-25 14:16 ` [PATCH 2/2] HID: magicmouse: avoid setting up battery timer when not needed Aditya Garg
  0 siblings, 2 replies; 6+ messages in thread
From: Aditya Garg @ 2025-06-25 14:16 UTC (permalink / raw)
  To: Jiri Kosina, Benjamin Tissoires
  Cc: linux-input, linux-kernel, José Expósito

Both hid-apple and hid-magicmouse require set up a battery timer for
certain devices in order to fetch battery status. However, the timer
is being set unconditionally for all devices. This patch series
introduces checks to ensure that the battery timer is only set up for
devices that actually require it.

Aditya Garg (2):
  HID: apple: avoid setting up battery timer for devices without battery
  HID: magicmouse: avoid setting up battery timer when not needed

 drivers/hid/hid-apple.c      | 13 ++++++++-----
 drivers/hid/hid-magicmouse.c | 36 +++++++++++++++++++++++-------------
 2 files changed, 31 insertions(+), 18 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-06-30 10:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-25 14:16 [PATCH 0/2] HID: avoid setting up battery timer when not needed in hid-apple and magicmouse Aditya Garg
2025-06-25 14:16 ` [PATCH 1/2] HID: apple: avoid setting up battery timer for devices without battery Aditya Garg
2025-06-30  9:33   ` José Expósito
2025-06-30 10:10     ` Aditya Garg
2025-06-25 14:16 ` [PATCH 2/2] HID: magicmouse: avoid setting up battery timer when not needed Aditya Garg
2025-06-30  9:32   ` José Expósito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.