diff options
| -rw-r--r-- | drivers/hid/wacom_sys.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hid/wacom_sys.c b/drivers/hid/wacom_sys.c index 9a410351d56a..68a560957871 100644 --- a/drivers/hid/wacom_sys.c +++ b/drivers/hid/wacom_sys.c | |||
| @@ -1853,6 +1853,11 @@ fail_parse: | |||
| 1853 | static void wacom_remove(struct hid_device *hdev) | 1853 | static void wacom_remove(struct hid_device *hdev) |
| 1854 | { | 1854 | { |
| 1855 | struct wacom *wacom = hid_get_drvdata(hdev); | 1855 | struct wacom *wacom = hid_get_drvdata(hdev); |
| 1856 | struct wacom_wac *wacom_wac = &wacom->wacom_wac; | ||
| 1857 | struct wacom_features *features = &wacom_wac->features; | ||
| 1858 | |||
| 1859 | if (features->device_type & WACOM_DEVICETYPE_WL_MONITOR) | ||
| 1860 | hid_hw_close(hdev); | ||
| 1856 | 1861 | ||
| 1857 | hid_hw_stop(hdev); | 1862 | hid_hw_stop(hdev); |
| 1858 | 1863 | ||
