aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2015-03-06 14:47:42 -0500
committerJiri Kosina <jkosina@suse.cz>2015-03-11 11:46:13 -0400
commit2d13a43813729850572606a653f06c9e567e4c8d (patch)
tree0a504d5180690cef15968c1009c2cea59e629e28
parent8f93b0b2b0a336746adc8730921b219f0ba40c29 (diff)
HID: wacom: Report battery status for Intuos Pro and Intuos5
Calls the wacom_status_irq function to report battery status for the Intuos Pro and Intuos5 (in addition to the already-reporting Intuos and last-generation Bamboo). Signed-off-by: Jason Gerecke <killertofu@gmail.com> Acked-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/hid/wacom_wac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c
index f1e53f15abb5..726fedb87a16 100644
--- a/drivers/hid/wacom_wac.c
+++ b/drivers/hid/wacom_wac.c
@@ -2062,6 +2062,8 @@ void wacom_wac_irq(struct wacom_wac *wacom_wac, size_t len)
2062 case INTUOSPL: 2062 case INTUOSPL:
2063 if (len == WACOM_PKGLEN_BBTOUCH3) 2063 if (len == WACOM_PKGLEN_BBTOUCH3)
2064 sync = wacom_bpt3_touch(wacom_wac); 2064 sync = wacom_bpt3_touch(wacom_wac);
2065 else if (wacom_wac->data[0] == WACOM_REPORT_USB)
2066 sync = wacom_status_irq(wacom_wac, len);
2065 else 2067 else
2066 sync = wacom_intuos_irq(wacom_wac); 2068 sync = wacom_intuos_irq(wacom_wac);
2067 break; 2069 break;