From patchwork Fri Aug 16 08:33:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wang, Jiada" X-Patchwork-Id: 11097203 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3BDDC14DB for ; Fri, 16 Aug 2019 08:35:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B3F128564 for ; Fri, 16 Aug 2019 08:35:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F442289DC; Fri, 16 Aug 2019 08:35:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBF7B28564 for ; Fri, 16 Aug 2019 08:35:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726910AbfHPIfX (ORCPT ); Fri, 16 Aug 2019 04:35:23 -0400 Received: from esa4.mentor.iphmx.com ([68.232.137.252]:36047 "EHLO esa4.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726836AbfHPIfW (ORCPT ); Fri, 16 Aug 2019 04:35:22 -0400 X-Greylist: delayed 324 seconds by postgrey-1.27 at vger.kernel.org; Fri, 16 Aug 2019 04:35:10 EDT IronPort-SDR: N6VIAXB1EYIt1lmuBvYRAKWRUggIKyMwr9y4bt3yD5dHHd+wKUBX1w+a+NSmnMOA9cZlp0dOmW Wvdpg6VJxqvquWCva0JWEJBybLqg6olOwg9A/77ERjtQ8iPCsrxAoIU1kk87xh3TqC9Rq4NI45 WeK7jVxKLmyfWobYP+a2CVTZ81Tlfz723wZ+qFnnAb8GEoaVpndMAc2IwARkfgHpdmNb3YHGKz GNSqAIulHSoW8bJGIZ0KL47Sml+WWxSP04u3d8khbnO41Gn+E0KMn00hLfdP+Z+FeMLdafyShp hUA= X-IronPort-AV: E=Sophos;i="5.64,391,1559548800"; d="scan'208";a="40519102" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 16 Aug 2019 00:34:19 -0800 IronPort-SDR: CBP3MHee4vu/enOXZieG8nzIkzdxbh0ilvJguuY2DPQYq8guRSvPyVNFPMSzDp1g11lTSGi3aH YPSon/wT6hqybdmmh1VcQyaPLc81XGQKsA4FPalp7Y5oWnWJCPa5Nu43dYJYifOsck+85yla86 9h45utnW622/ap/F9j5XJfOe5yAgwXGq7Uxi9P0yEQLMaE5FhqqbKFKBx5ksB4GbkF4o/JaJFj xk9B8JzafZd90r/3fctzB09ukB31M6vTUrEAl+gkUcX+tNt3d6mmMnEytWoY+5KkNbFp4PWH+a f0s= From: Jiada Wang To: , CC: , , , Subject: [PATCH v1 29/63] Input: atmel_mxt_ts - orientation is not present in hover Date: Fri, 16 Aug 2019 17:33:41 +0900 Message-ID: <20190816083415.18819-5-jiada_wang@mentor.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190816083415.18819-1-jiada_wang@mentor.com> References: <20190816083415.18819-1-jiada_wang@mentor.com> MIME-Version: 1.0 X-ClientProxiedBy: SVR-ORW-MBX-09.mgc.mentorg.com (147.34.90.209) To svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 86c016dbec0d..ba608d04ee82 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -1028,10 +1028,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: