]> git.karo-electronics.de Git - karo-tx-linux.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)
commit715e944f8a7a1059db5d61ebf197e6f348d747e2
tree704fc67c91e059925e3681b585290992a0527bd9
parentf3d3eab667de62572376abb1aa26316191c39929
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