HID: wacom: add missed stylus_in_proximity line back
diff mbox

Message ID 1462249054-3515-1-git-send-email-pingc@wacom.com
State New
Headers show

Commit Message

Ping Cheng May 3, 2016, 4:17 a.m. UTC
Patch 7e12978 removed stylus_in_proximity flag for Intuos series.

Signed-off-by: Ping Cheng <pingc@wacom.com>
---
 drivers/hid/wacom_wac.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jiri Kosina May 3, 2016, 10:06 a.m. UTC | #1
On Mon, 2 May 2016, Ping Cheng wrote:

> Patch 7e12978 removed stylus_in_proximity flag for Intuos series.
> 
> Signed-off-by: Ping Cheng <pingc@wacom.com>

The changelog and metadata deserved some more love. I've fixed that up and 
applied to for-4.6/upstream-fixes.

Patch
diff mbox

diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c
index bd198bb..e3e4377 100644
--- a/drivers/hid/wacom_wac.c
+++ b/drivers/hid/wacom_wac.c
@@ -684,6 +684,7 @@  static int wacom_intuos_inout(struct wacom_wac *wacom)
 
 		wacom->tool[idx] = wacom_intuos_get_tool_type(wacom->id[idx]);
 
+		wacom->shared->stylus_in_proximity = true;
 		return 1;
 	}