Message ID | 20200212084218.32344-28-jiada_wang@mentor.com |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=6nV4=4A=vger.kernel.org=linux-input-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C459CC2BA83 for <linux-input@archiver.kernel.org>; Wed, 12 Feb 2020 08:45:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 974A820714 for <linux-input@archiver.kernel.org>; Wed, 12 Feb 2020 08:45:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728728AbgBLIpz (ORCPT <rfc822; linux-input@archiver.kernel.org>); Wed, 12 Feb 2020 03:45:55 -0500 Received: from esa1.mentor.iphmx.com ([68.232.129.153]:43395 "EHLO esa1.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728493AbgBLIpy (ORCPT <rfc822;linux-input@vger.kernel.org>); Wed, 12 Feb 2020 03:45:54 -0500 IronPort-SDR: fcLPZL1HDPOscK1Iegj7iv9XvnxHOEQ32TgvHI3tuYo3QwaggNn9FFAUvaJ60Ay0NSXmwjpVBM dqp5Aq8XL9FVHAKMxx1EtH1hoKazj03LTlm7EXoRaF+bUkB4V74Mnfp4Jp7MJDn31D/S6T9h7+ yYFodRw7hq9bFS6nPQc++cCXu0Wd0zDMkN33yN2OFFd8+vLhSmGA+BTkMxRM+JJiisv6lhc/Fn CRQ+13qHgXUXtaB6iQS8J3wrCPDwPodqvrncG4CMKDGFUX2aTUe3Ceajvht7VNuzIe5uq8e/kC 8ec= X-IronPort-AV: E=Sophos;i="5.70,428,1574150400"; d="scan'208";a="47667061" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 12 Feb 2020 00:45:54 -0800 IronPort-SDR: F4Ta9h3UXxZhB20FzEOy9XyipklEvhzMZdmUGoqCRhwt937XFo+ZSO0ezaPJ7XA8L3931uNVEt 3/wGOZOEve+jahOMLnMGcdSpJtfKO2AHSXPzZ2RVZqEYjbUS2Innp+00C+KT6A0pgOshgmse9W PzG6H233yCmvn8TlwGg2Ibq/w4q3+QlnGgdKIF6BYB2Aapy6vdl7hbCLYayqMcpNKnmr0UTS9O m4hIB93N4qgBYsXzg887CinjBVQc+QZQehpeOFLYnpsLvltkIDUZ+P+VY4hgKW8K91bkws2ZFd YaM= From: Jiada Wang <jiada_wang@mentor.com> To: <jikos@kernel.org>, <benjamin.tissoires@redhat.com>, <rydberg@bitmath.org>, <dmitry.torokhov@gmail.com>, <nick@shmanahar.org>, <bsz@semihalf.com> CC: <linux-input@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <erosca@de.adit-jv.com>, <Andrew_Gabbasov@mentor.com>, <jiada_wang@mentor.com> Subject: [PATCH v7 27/48] Input: atmel_mxt_ts - orientation is not present in hover Date: Wed, 12 Feb 2020 00:41:57 -0800 Message-ID: <20200212084218.32344-28-jiada_wang@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200212084218.32344-1-jiada_wang@mentor.com> References: <20200212084218.32344-1-jiada_wang@mentor.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: <linux-input.vger.kernel.org> X-Mailing-List: linux-input@vger.kernel.org |
Series |
[v7,01/48] Input: introduce input_mt_report_slot_inactive
|
expand
|
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index b20b520cb278..64770d646052 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: