]> 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)
commit7fd6d620253238a640b25f5acfccc87c3ee931cd
treec0c3a4c68fb3ae659406207712a576b10267eb71
parenteec572a6c1e3edd502693138ae517f8fc7775a90
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