Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1368398ybj; Thu, 7 May 2020 23:01:46 -0700 (PDT) X-Google-Smtp-Source: APiQypLOXI/gMG4V+oJXHjjeH7DOqUNIfOAdieC0WOfQUkTf3D2egRlY8yS0AjiAP6Rs+JAGfjXp X-Received: by 2002:a17:906:d8b4:: with SMTP id qc20mr488100ejb.253.1588917705875; Thu, 07 May 2020 23:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588917705; cv=none; d=google.com; s=arc-20160816; b=gK2aCuMydRijePvLfxl3+ZiTltnF1Jh8TZOlPuaHLw1KRa4SVcsORoVcjVQwe/SSm8 zhYI8rBj68rv8gxgVl+0q5JlD+GbI0DUey8riYMIsoD5NjEEY3FRBJJ15jhoEJUPaWft 3BRxTbz6IjltaFDvz7Nc8IdeG3HJuljx1XepcrcPJqayE/+P8Uxde7Bf4Kr5OkO6jvuf 59v0tNwXY905rkKQ2Mig+Jbt4WDkf+oFTgy9aQcDarVUFylpkwwuG3mCxbfPepmy1Zm2 rShgoEZ85HQp7+CSmLh+jwu7hYr1r4bP+Ws59s5LGFgN82GSDi5c60lM/6yA2z1RRcI8 TBpg== 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=e1g8sYy2pvCrfpb3kvRw0Wkpr8jEaEOjqb4e34XEfbI=; b=d/K5OmybLPiIfpOAPPxmiw9V1+r+z3uc1ANkzYbFBKkxRZBYOBE5/xvMI8DwQWXbi9 8wcPZ8ixn2BHhI5UgaJKBRi57Lprz/9lmibpdywb6ItAP5ida6USUMXNRu6np2PyLi1T jlbRqG4DvlwLrKnt3RJ4Xd0bfd2xxmJ7Td9ZB1Jfs/gWJ/brsVetT7Jltq3kA+xyMyON EKYoN7rtQtbMna8L7ZftvzJprx1mLE/XWkcycIYMmdOZYsk86mQLXF4pm+zjvx+o1YvJ Sp+ut8HLtszeR0SNbZ2ZzEI3Ebs4450uTCFlZW9oqLd0uZQ8WfXf7HRUPIDtP4x4tHHh kEOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f6si389628edw.325.2020.05.07.23.01.22; Thu, 07 May 2020 23:01:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728162AbgEHF7T (ORCPT + 99 others); Fri, 8 May 2020 01:59:19 -0400 Received: from esa4.mentor.iphmx.com ([68.232.137.252]:45906 "EHLO esa4.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728139AbgEHF7O (ORCPT ); Fri, 8 May 2020 01:59:14 -0400 IronPort-SDR: 5VkTlkxivbDZ5yPUL4Dm+uz450kupOsdfsJd3bmVfZQgegmZfGbyT3QLv4cJUlPb+2OuL8LG1w X4jKyTjdRKskx/32ne7kHebmazd6ghdNeGiWjoghm2xifSn/L/sLaRyed+bLXmOngzuC50Tu0b lEX6itCiO0O3cLZoYAcaolAHyhhpL427qPuvPYjCwf7D4dnECe5DPCHlgeLOkNKbRNN9voPmec v6PzE9Q7LNi4G9dIoCtwAVtRIXs8wPp+nakDMHNALa7G4aZGhnuLdpHwE9A382BG8EvAYxTSAn xRo= X-IronPort-AV: E=Sophos;i="5.73,366,1583222400"; d="scan'208";a="48710644" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 07 May 2020 21:59:14 -0800 IronPort-SDR: wm3fgo17k7SSJ/DnkYOOLsJxwrH7ObDSgby8pR5xdd4ArR7Qoswk9Egeo2EV/CNxwVXzUi4iiI la+krsiNlg8yr0cdy/8rEK7ZHNInxKdqPi2ykcBzKVPNAgHX9OeTrGDUTUmmTDTtj28Ybllwqz S4tFAZla9JOu2Gs2y0j1gyOPiT/nMjT5vkaFblsFcHUMRcfgmGlPZYPF3N7fkPslV1yZQSnRx7 iu2X/IoiyxFf3GKxevW8vSp5X1VpZ4/oqrFGmEPJEVcSGgLADZ/6V5m2P76tz+TBjqd6K6o3fQ mto= From: Jiada Wang To: , , , , CC: , , , , Subject: [PATCH v11 35/56] Input: atmel_mxt_ts - orientation is not present in hover Date: Thu, 7 May 2020 22:56:35 -0700 Message-ID: <20200508055656.96389-36-jiada_wang@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200508055656.96389-1-jiada_wang@mentor.com> References: <20200508055656.96389-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 152069c3e15d..1027ebbc3978 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -1027,10 +1027,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