Received: by 2002:a25:d783:0:0:0:0:0 with SMTP id o125csp748664ybg; Thu, 19 Mar 2020 08:06:06 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuClpzJZltd3B8PSalcueFc6OquYIth8j5yFcQdaNQpxnh3pGjOcr5ewNLVpaNLIysU5r9k X-Received: by 2002:a9d:7698:: with SMTP id j24mr2744807otl.370.1584630365892; Thu, 19 Mar 2020 08:06:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584630365; cv=none; d=google.com; s=arc-20160816; b=AmotH47yPOzVdIee28LFlU+VvXDs2nJcFEtrPAVQyfMZJW5h8B/DtQHkKaZBnaGdRq Wv6xFZoPdbwImC1IHB/6RaiYQbkvGIT60JD+tiuZPwlM+o7VZ4k3jzw7z/tz3bF6xB2j oX00Gtgn+dUFqNkKjn+0q7RPg5017vkJwHsn6fYEYcflA1HwZzZzk/9CsBsRC3lYDgD8 MwP7mathbhyXUbRmmh8vQc0wfQybnJpu8L73pPx4QFxGXst1bAIMCZJHI6g5bsVMarKh 3EQGuOaRr8ahLT+zEvJlPtxmmHfxrwMksbqlAc6Zyi4GZ2TdC3eJY63Wn/ZqkDpyBrFs dkQg== 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=cjD8utz3psPWxz1qA7D3tuoWNxwQ8mBX1HG0kJZRhME=; b=GmPCyGHc0u6UtajMIPE/MSPIdoxnkOjgQh4EkaKL6so4pj1RL9lpvb86cd7Qs/AftW iEo9LT25xdNhiBXj4vNJ06PJD7lSxIncJ9J6nMPrYDbEKmPKvtmSK6PSh/iHm45G17SN bQ+DLdQJeeeo79AwqpM3iYYe9NElSW8Vq3dgk65l8JVV/v+RCVg7Gij6JpalkgRE4XFs yg58hw6OolE9UoRj+h9BTLYZtErgvTNQGBnWgpKteJRTfi0cNA94QnwegowW7uW/5ORF +tIjz7aKJm0UwOvrWvm+JGPSCxdjwMCx5nVe28Qu+GCeyDduimV7aA6FUV3kImxR1+Rr 4JDg== 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 k7si1342541otn.251.2020.03.19.08.05.42; Thu, 19 Mar 2020 08:06:05 -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 S1728203AbgCSPCX (ORCPT + 99 others); Thu, 19 Mar 2020 11:02:23 -0400 Received: from esa1.mentor.iphmx.com ([68.232.129.153]:16097 "EHLO esa1.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728129AbgCSPCV (ORCPT ); Thu, 19 Mar 2020 11:02:21 -0400 IronPort-SDR: 0zTL7Za8JOUEyJPdPMenA9n7460q6vvYfF4VzN0cpemyXMwJxtlcpG0ZkS5ULfOYzlmxD8e+Eq P3PXeO4++u3unfcFIt6jcwE52SbZnRgdtHkriuY1BvJ6vbEVj73M2jOtOWFUuwDbqbSrUTBM1U x+8hufDwcqu8SovbEjB8nW4uv5OfukistON63N3rdHtUUjyYvwtHG2glOxVBULSFnRBwhOBjuI xE4Wfj6r90SoUrnRR9RfW4+NmGECBAolfm4JFmr/3+tJOenj7rpHnUUT0Ute8IVcfVdw7zeqp1 nWM= X-IronPort-AV: E=Sophos;i="5.70,572,1574150400"; d="scan'208";a="48850344" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 19 Mar 2020 07:02:19 -0800 IronPort-SDR: 7+VyomUZtwuDSYAh/SY6xAWH61GxtJJCC9q1OnWr8SWj/fLw5gaLoApLCfNrm9kXu4FPX7oWeH mbhS/18AQcub+EhPx3bzxG1WDZDSqq+xWFXhe8SrhXp8NCB3kx/4xZlHS/Grez27r193G3cO21 aXFarAcgjeZlNEpuheWnHUCG0h3TuWmpO+E2g5z1g4AXP9xwwDFDSvro3rr1DwFcbFL6uC2LeY aTGLE+v4+2pNFYdEu3sIRNDzxvRx5h0lNfUIxs/26AgXtv9Katg99ivA1M8TIvIcLYMvfqimpT R+s= From: Jiada Wang To: , , , , , CC: , , , , Subject: [PATCH v8 30/52] Input: atmel_mxt_ts - orientation is not present in hover Date: Thu, 19 Mar 2020 07:59:54 -0700 Message-ID: <20200319150016.61398-31-jiada_wang@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200319150016.61398-1-jiada_wang@mentor.com> References: <20200319150016.61398-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 670159c2f218..2c3a59ff70c4 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