Messages in this thread | | | From | "João Paulo Rechi Vita" <> | Subject | [PATCH 0/1] asus-wireless: Use the correct HSWC parameter for each HID | Date | Thu, 26 Jan 2017 10:00:30 -0500 |
| |
As stated in the commit message, different machines can use different values to represent LED ON/OFF, and this commit makes sure we use the correct value pair for each _HID.
I don't know if there is a better way to store these pairs than in a structure matching the device_ids[] indexing that would avoid looping through device_ids[] in asus_wireless_add(). I'm happy to try suggestions to improve that.
João Paulo Rechi Vita (1): asus-wireless: Use the correct HSWC parameter for each HID
drivers/platform/x86/asus-wireless.c | 46 ++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 13 deletions(-)
-- 2.11.0
| |