Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp625331ybb; Wed, 25 Mar 2020 06:37:12 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtX2IVqZpkGmfmfyUvmqnzrQVnmeu69ihOkXDhkxtO9OuqThTrN7ezsFTflYDVYYjG8q8sY X-Received: by 2002:a9d:6ad9:: with SMTP id m25mr2542841otq.160.1585143432791; Wed, 25 Mar 2020 06:37:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585143432; cv=none; d=google.com; s=arc-20160816; b=nYUgEMdD/IT3SgfgpmZGxiwTMIUzOkhVQ1L7440w6endVKa3AICx4nmzp6McmVPymz QGL5g+setyz+SIE6xB5TQB+bHjFXpTef3yvQTJt1K34S+4ygN0a/sciLs438rj4x7yrV k2HlbhgKa5TfCS1mOq3A0XYcKqKI0CdBqGRbkZL7Y6Iwhj1mL6nrc5gLKX9QrhydqUcL NVYkfKWH8FrIh8qAJKpfbWd2n5ByYz0XknSeBzCDAC9LOllJK2jKMz8a67SLpnbeUM8i /AqQ5BQaKlGgZiox9ZEeUllET0R5HqwEokj9fdrBPxzPL5Vg3ZQIeA7HCxKCN53tflrb AeVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=eTu0f85jlkYoA2WSq2tgeoHRGuCvEM6iO6ESUz714VE=; b=ImnRFfuuqsywHYsMAM1V3q4olJRDLtSplbBiD0qgLVQ+yCTiI4WXdD9/SrESIcqOM6 ioHKNI87ZjUUYmUTYdXMKOu85A6X5UVvJ7eFMthUs9JDDVpt35e+g8U3w24dCT15EaTL R6/4U90jyeDLCWrK5xCLoy4+lBmkVtdy30YSETfb2Cs3y7b753wmafNCZT7GMhp+TRyd 50+AKvJla1QEkVHmrC9m0IHKpgNKLc0FCPiaHi1p2oOlDfpHE/xbOvwqkY9AMjvdGkeF 52LnCpL/Hrg+HsFHYMVK5Lus+FDMg1QGjRDqWE3JOAwE9m8o5/kU95rf00gnkIa6YW4M ilzw== 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 t11si11043450oig.108.2020.03.25.06.37.00; Wed, 25 Mar 2020 06:37:12 -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 S1727941AbgCYNgH (ORCPT + 99 others); Wed, 25 Mar 2020 09:36:07 -0400 Received: from esa3.mentor.iphmx.com ([68.232.137.180]:53226 "EHLO esa3.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727924AbgCYNgE (ORCPT ); Wed, 25 Mar 2020 09:36:04 -0400 IronPort-SDR: eXPkiR2SqMGcynKU6yrFjwf2tKOW43Ld4mKR7gsqSXxgCryPX1J+Af3n+ikofrqiQPJnlJJyF5 CVKkcQCpX5iJ2lXvE0N5mQ597jauj5c62NfXCSlEqHO5B0BAPYhdHI/akKdCTgXgiceTxeqRMv GlKGPZHHbeEUrkP69hqzJnjO1Ve8CzowV9pkvV9oEXvyo+7ZJXbzpY0mfeAksNgt9onkTS57aA 2PHa8qfep0GbezIWU2jsPA1h7YoS04pgiJWUmRA1LZ2P/IHxxK3Fd2JgRjiUDFB/w5CYNgYJuc Xtg= X-IronPort-AV: E=Sophos;i="5.72,304,1580803200"; d="scan'208";a="47099750" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 25 Mar 2020 05:35:52 -0800 IronPort-SDR: W0C88yslZHCLrS6DGsvAoxd+os8Ca0DQ0x7qHtAIdIkxRofOE3UQ514OlZZdjbp9mlS8eHNSSQ OFIOpFIsT6xZP1sXNDwhCxpXKWVMF/hsX6JbGtceXVyIOT4Ek28hesiI5qSXWzFbfBDiByZGV6 kSZQpLgyPAGoKaAFBQcH300cO7aN9n2Wy47xfrN4VPeDCxe7DwIp38j0ag4Iyz7RVebuXATAWe dQQgQay4eMbP4UuGwmABU0Gt0G2mZk3hHMbRYbr2EbuXUFTGmBghd7JJoodEGqKnqiDoZkTROC Rfs= From: Jiada Wang To: , , , , , CC: , , , , Subject: [PATCH v9 33/55] Input: atmel_mxt_ts - orientation is not present in hover Date: Wed, 25 Mar 2020 06:33:12 -0700 Message-ID: <20200325133334.19346-34-jiada_wang@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200325133334.19346-1-jiada_wang@mentor.com> References: <20200325133334.19346-1-jiada_wang@mentor.com> MIME-Version: 1.0 Content-Type: text/plain 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 daa77eb9561b..b1f54bf207b8 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -1026,10 +1026,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.17.1