diff options
author | Jason Gerecke <killertofu@gmail.com> | 2015-08-03 10:17:04 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2015-08-04 15:39:20 +0200 |
commit | ccad85cc1ee34509840e5af80a436ceaf0b71edb (patch) | |
tree | ec6870d5cc6fd515158075ff8141c3da208f13bc /drivers/hid/wacom_wac.c | |
parent | 8dc8641e619228153ab0bc609f9f534126e87c08 (diff) | |
download | linux-stable-ccad85cc1ee34509840e5af80a436ceaf0b71edb.tar.gz linux-stable-ccad85cc1ee34509840e5af80a436ceaf0b71edb.tar.bz2 linux-stable-ccad85cc1ee34509840e5af80a436ceaf0b71edb.zip |
HID: wacom: Replace WACOM_QUIRK_MONITOR with WACOM_DEVICETYPE_WL_MONITOR
The monitor interface on the wireless receiver is more logically expressed
as a type of device instead of a quirk.
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'drivers/hid/wacom_wac.c')
-rw-r--r-- | drivers/hid/wacom_wac.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c index 280deb293ae2..82bb0d38fc8d 100644 --- a/drivers/hid/wacom_wac.c +++ b/drivers/hid/wacom_wac.c @@ -2330,9 +2330,7 @@ void wacom_setup_device_quirks(struct wacom *wacom) /* monitor never has input and pen/touch have delayed create */ features->quirks |= WACOM_QUIRK_NO_INPUT; - /* must be monitor interface if no device_type set */ - if (features->device_type == WACOM_DEVICETYPE_NONE) { - features->quirks |= WACOM_QUIRK_MONITOR; + if (features->device_type == WACOM_DEVICETYPE_WL_MONITOR) { features->quirks |= WACOM_QUIRK_BATTERY; } } |