]> git.baikalelectronics.ru Git - kernel.git/commit
HID: asus: Stop underlying hardware on remove
authorCarlo Caione <carlo@endlessm.com>
Tue, 30 May 2017 20:39:46 +0000 (22:39 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 2 Jun 2017 12:13:22 +0000 (14:13 +0200)
commit96472256e1982758f613a2a4d4158e1a045e7b21
tree704fc67c91e059925e3681b585290992a0527bd9
parentdcae90a88afbaa0577daf4ce2e15993e058be549
HID: asus: Stop underlying hardware on remove

We are missing a call to hid_hw_stop() on the remove hook.
Among other things this is causing an Oops when (re-)starting GNOME /
upowerd / ... after the module has been already rmmod-ed.

Signed-off-by: Carlo Caione <carlo@endlessm.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c