projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd5f92b
)
HID: wacom: cleanup input devices
author
Benjamin Tissoires
<benjamin.tissoires@redhat.com>
Fri, 12 Feb 2016 16:27:44 +0000
(17:27 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 16 Feb 2016 19:40:38 +0000
(20:40 +0100)
Just some cleaning up when the input devices are unregistered.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/wacom_sys.c
b/drivers/hid/wacom_sys.c
index 5cb8528861799f01b7f9227b36d10d222c727025..9a410351d56a27327cfb68a155e31ce552d7f84e 100644
(file)
--- a/
drivers/hid/wacom_sys.c
+++ b/
drivers/hid/wacom_sys.c
@@
-1357,6
+1357,9
@@
static void wacom_clean_inputs(struct wacom *wacom)
wacom->wacom_wac.pen_input = NULL;
wacom->wacom_wac.touch_input = NULL;
wacom->wacom_wac.pad_input = NULL;
+ wacom->wacom_wac.pen_registered = false;
+ wacom->wacom_wac.touch_registered = false;
+ wacom->wacom_wac.pad_registered = false;
wacom_destroy_leds(wacom);
}