lkml.org 
[lkml]   [2017]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/1] asus-wireless: Use the correct HSWC parameter for each HID
Date
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

\
 
 \ /
  Last update: 2017-01-26 16:01    [W:0.208 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site