Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5143839ybl; Mon, 26 Aug 2019 23:33:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/wYkKBo58qy0FnegCZM6noFSfbKUVFA6hfKuQFbnpjrHdjGqIDq+gCJmQ+tiravQYKnp0 X-Received: by 2002:a65:6546:: with SMTP id a6mr9890584pgw.220.1566887609757; Mon, 26 Aug 2019 23:33:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566887609; cv=none; d=google.com; s=arc-20160816; b=wOSO9VwoUjd/QZw03oqtQTmHc+ZcR/Z9dN7IMRJqlQBuRGaUojZyktOmxIX7Z5B/uu eEYHgfPGZQGj0zswfwGPLzCt66vRvUomN8ID5c6/TrGayHeUUN2NNT30NVzl2W64WwRC z7yGCZ392/UDoR5ufLwHm00gHXIIERBTn9U2OMqCiZeUrRucPh+p3ooR6iwX41zsico0 Ub7H63MO8U2LJeK0wePbLpmJGeZgqvjedf6dhwTgvKx4B3wE5r/zHd0rktnZZaTIRXUD PXtYLOvMeFIqSyWQjXiiupHJhhdwdIkJpntEmWOfCGyb4qUE7GQUmHjJTnmc5c5QHaqW HDkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=Bwuvg/qhxccobtF7MiavqeZxgYh4BsUzX9tq/erAfZA=; b=EB58TbUCSvSuVvYidVgVCnXTkzn5nyTj36RrZgLm/CdeFo6VTLu6T4u9jz5Cl4Lj/n WPEGkBw7YofuzU8egcZPvcoXMKTJqqav9vt0NIfl3mml/9lW+sulCJf0OzWA6fqSIT+7 pYR+hiBvzZNXVqSRP9u6lKunKbLGmWc4vAK3tilOAomPkO97CCWuD4zUj/EF2BYDi2/S icZ+z8+tUFoJToc7Ens5ohgS2Qa/ryRqbxuFj1DPFix/1JIe9CNm/PccR/I2UBy8AFzc 3tYc/O5f1zcSREha5MDYGabX0cT5Lx+/ryht5Bu+KXHSK+DuzHPLEx0v09m/omZ+BmmC iz3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si1684718pjs.21.2019.08.26.23.33.14; Mon, 26 Aug 2019 23:33:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728723AbfH0GaE (ORCPT + 99 others); Tue, 27 Aug 2019 02:30:04 -0400 Received: from esa2.mentor.iphmx.com ([68.232.141.98]:47224 "EHLO esa2.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbfH0GaD (ORCPT ); Tue, 27 Aug 2019 02:30:03 -0400 IronPort-SDR: ZxfpUv83UhlQYahbqqwG8bIRLyM/GYbjs6hjwrEj6NLU+TGDzwIht4UXxfR6SX1tqXYDK5xt0j SZAFCQcry9j3vwu5RsgZTISeXxekADDbOJDKSyRo0L+c2MXnxJ6dRyMVoJ2blBmq/jNAioGchw 3X3ucoviIF81cRybFOCBNOPkmyaCfGZ+p8hbWOYciILNm7dL5c2sTNivtjODH7VHVrBRHwZSS8 Pt9Rmbo0lQSCi5SfLoYNAWWfW7HIeVdo8Nc6eTjucOE/roCWsMUnVWmbS+ZBrQxcR3tfTOu5xS z7c= X-IronPort-AV: E=Sophos;i="5.64,436,1559548800"; d="scan'208";a="40754981" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 26 Aug 2019 22:29:41 -0800 IronPort-SDR: 9dn4dml8aS7kU8rlj6A2Tglc9v7H3EAykMRBbOBb2ibjT1F2kWHi64GtUFDGHNrvbK1pzZq/+O EnJjL+bLFMI0X1M6hD6qIl1i6wq0t5KP35Sva6E2PJ95uTD+AWBpMpn6D9UbjikuaMSe0tTHRg 8j3l3RlUw2f1RO5cGjBUX75rGrOnuA4aOE3ivOAuteFzDpVcAM71VDluea1Z0GNSqn+GHn8hEQ Md63QsOPOl6t2hPtBR39cHW0qIE0Dsy6s7wthBrd55MhwvOrWAZtht4bSQBZbjb/6XOS+9sTQP 8qc= From: Jiada Wang To: , CC: , , , Subject: [PATCH v2 28/49] Input: atmel_mxt_ts - orientation is not present in hover Date: Tue, 27 Aug 2019 15:29:22 +0900 Message-ID: <20190827062943.20698-4-jiada_wang@mentor.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190827062943.20698-1-jiada_wang@mentor.com> References: <20190827062943.20698-1-jiada_wang@mentor.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ClientProxiedBy: svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) To svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nick Dyer When in hover, the orientation information is not sent Signed-off-by: Nick Dyer (cherry picked from ndyer/linux/for-upstream commit 0c885d5bd276bd9240c43aa046fc407cbe2ae864) Signed-off-by: George G. Davis Signed-off-by: Jiada Wang --- drivers/input/touchscreen/atmel_mxt_ts.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index 5b7ab798f27d..2d2e8ea30547 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -1029,10 +1029,6 @@ static void mxt_proc_t100_message(struct mxt_data *data, u8 *message) distance = MXT_DISTANCE_HOVERING; hover = true; active = true; - - if (data->t100_aux_vect) - orientation = message[data->t100_aux_vect]; - break; case MXT_T100_TYPE_FINGER: -- 2.19.2