[PATCH 0/3] HID: steelseries: clean up functions, move battery request data to structs

Benjamin Wheeler posted 3 patches 2 weeks, 3 days ago
drivers/hid/hid-steelseries.c | 217 +++++++++++++++++-----------------
1 file changed, 111 insertions(+), 106 deletions(-)
[PATCH 0/3] HID: steelseries: clean up functions, move battery request data to structs
Posted by Benjamin Wheeler 2 weeks, 3 days ago
Hi Sriman,
As requested, here are my patches for your v2 of the new driver.

They fix an issue where the Arctis 7 incorrectly shows 100% battery due
to submitting an invalid report. They also include some cleanups of a
couple functions.

I've tested these by loading the module in a VM, and seeing that the
Arctis 7 reads the correct battery % through the Ubuntu desktop.

If these don't fit nicely into your v3, feel free to take what you need
out of them, or, once you submit v3, I can re-do my patches and
re-submit.

Thanks!

Benjamin Wheeler (3):
  HID: steelseries: Clean up hid send_report functions
  HID: steelseries: Add battery request info (byte flags) to device
    info.
  HID: steelseries: Use device data for battery requests

 drivers/hid/hid-steelseries.c | 217 +++++++++++++++++-----------------
 1 file changed, 111 insertions(+), 106 deletions(-)

-- 
2.52.0