]> git.baikalelectronics.ru Git - kernel.git/commit
HID: asus: Fix keyboard support
authorBrendan McGrath <redmcg@redmandi.dyndns.org>
Sat, 10 Dec 2016 10:20:42 +0000 (21:20 +1100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 19 Dec 2016 10:27:09 +0000 (11:27 +0100)
commit80c37885659fe82e8f26c6da20cf1501371cbcab
treec0c3a4c68fb3ae659406207712a576b10267eb71
parentd32787c71ec7eee87d31ef8fc47af2108e5d51f7
HID: asus: Fix keyboard support

The previous submission which added Touchpad support broke the
Keyboard support of this driver. This patch:
1. fixes the Keyboard support (by assigning drvdata->input);
2. renames NOTEBOOK_QUIRKS to KEYBOARD_QUIRKS;
3. adds the NO_INIT_REPORT quirk to the KEYBOARD_QUIRKS; and
4. sets the input->name to 'Asus Keyboard' for the keyboard

Signed-off-by: Brendan McGrath <redmcg@redmandi.dyndns.org>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c