From patchwork Tue May 3 04:17:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ping Cheng X-Patchwork-Id: 9000131 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1F4E5BF29F for ; Tue, 3 May 2016 04:17:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 41AC820225 for ; Tue, 3 May 2016 04:17:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 454D620221 for ; Tue, 3 May 2016 04:17:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750886AbcECERw (ORCPT ); Tue, 3 May 2016 00:17:52 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35470 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750846AbcECERv (ORCPT ); Tue, 3 May 2016 00:17:51 -0400 Received: by mail-pf0-f196.google.com with SMTP id r187so616130pfr.2 for ; Mon, 02 May 2016 21:17:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=FtN6vD5Fh3T+Fafj3WMvegDnrqmFOk7sO2TZUnH9a7g=; b=iVJamS5AT6wH6VvxSXd6T9otFkd+sMF9rhTxFbr6GkPBgNtHExkxc9HbPyCFQZysa4 dx9/bAsDzRKLyRhSK2INm2xSVDXROiMq5GsNCTM+ndUuXsFx0IJW2LObuoIf7BjeLSJf dngLrvSgVkkQE6sOTi6gHJP2+o8upK8EjqJ6eppM4gxHYkGxhrIGCS+RsLu1sdSJkL+5 m1y4yEDYziRRxiFy8hG63Op5QlkTtgE6yf19G1Hxn8VdNQC2zd1luo714XEGsRFvW/AU bVLAbxK8RYDVkqilaGoK2gAxMeIsqb135fO9BhZsKc23TUukV0ZnvCgvxYMSkEYTAQJK zp/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=FtN6vD5Fh3T+Fafj3WMvegDnrqmFOk7sO2TZUnH9a7g=; b=XFfAAcXR+iBFKM/yDwNU5kgamtCRUuytamKJFqo2b4jCakdeQcJJkbNPBZBPcf1K3L ePkDbAwgOeNXznwmRnGZv/UST3uF36GZxGZxGPZI25XJmwp3I0frbK8VXDmA8z5/3WM4 rGivQTnV3dI7AoehU13E3bIdii2MgZZRo2hXPl6JrFbbxqR9sAi8C9Zcwxit0x5/4Hul BaJR2MDAFl9brRz6iKq5xtVJ6d7ZnOaNCjxOwawxPw08UWTs79p4e/Z/Mn4+gijoBlIv CSPUUGETOOPcMCteUxYts3+kn9QOYKzB4tCRHk/x7Kboy6stujvsLILGDpg3Fme3rbhc BQXQ== X-Gm-Message-State: AOPr4FVauPdwKoymvkaRrsOeilTraiLnQ9Bg+0Ij2cxCQvBhhzN1+y2hlFDbr4kK3WM5Xg== X-Received: by 10.98.7.153 with SMTP id 25mr411568pfh.38.1462249070930; Mon, 02 May 2016 21:17:50 -0700 (PDT) Received: from localhost.localdomain.localdomain (c-50-139-96-71.hsd1.or.comcast.net. [50.139.96.71]) by smtp.gmail.com with ESMTPSA id 8sm1532114pfk.69.2016.05.02.21.17.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 May 2016 21:17:50 -0700 (PDT) From: Ping Cheng X-Google-Original-From: Ping Cheng To: jkosina@suse.cz, benjamin.tissoires@gmail.com Cc: linux-input@vger.kernel.org, Ping Cheng Subject: [PATCH] HID: wacom: add missed stylus_in_proximity line back Date: Mon, 2 May 2016 21:17:34 -0700 Message-Id: <1462249054-3515-1-git-send-email-pingc@wacom.com> X-Mailer: git-send-email 2.1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Patch 7e12978 removed stylus_in_proximity flag for Intuos series. Signed-off-by: Ping Cheng --- drivers/hid/wacom_wac.c | 1 + 1 file changed, 1 insertion(+) 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; }