Skip to content

HID: asus: improve the driver support for laptops

Denis Benato linux-input lkml 2 versions – Applied

Status from this message: Applied to hid.git#for-7.4/asus, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied
  2. v13 patches 10 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3HID: asus: document and harden the worker teardowndrivers/hid/hid-asus.c+26 -20 replies
2/3HID: asus: reinitialize the device after exiting a sleep statedrivers/hid/hid-asus.c+27 -100 replies
3/3HID: asus: add support for xgm leddrivers/hid/hid-asus.c+87 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] HID: asus: improve the driver support for laptops

Hi all,

Antheas has requested reviewing the XG mobile patch on this cycle so I am re-submotting a modified version that is a bit cleaner because it uses LED_CORE_SUSPENDRESUME instead of re-sending the LED state manually on resume, but it's functionally equivalent.

I also included a patch to fix a pre-existing issue that was flagged by sashiko-bot, albeit I'm not entirely sure if it can really happen in practice, though it is safer to handle it correctly given the actual code change is so small and leaving it documented helps future changes.

I also moved some code to reduce nesting and improve the resume path on ROG ally and other N-KEY devices.

Best regards,
Denis Benato

Link v1: https://lore.kernel.org/all/[email protected]/

Changelog:

-v2
- HID: asus: add support for xgm led
- Solve an impossible error reported by sashiko-bot regarding teardown on error

Denis Benato (3):
HID: asus: document and harden the worker teardown
HID: asus: reinitialize the device after exiting a sleep state
HID: asus: add support for xgm led

 drivers/hid/hid-asus.c | 148 ++++++++++++++++++++++++++++++++++++++---
 1 file changed, 138 insertions(+), 10 deletions(-)
Signature · 1 line
2.47.3