Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4316346ybc; Fri, 22 Nov 2019 00:29:56 -0800 (PST) X-Google-Smtp-Source: APXvYqxcfhGnrxldLlKyknT5TsZkYP+/IOc9MLQdeH+8pJ6cYj9y2zg1mvdBEqDeJVp0YDufmCkU X-Received: by 2002:a17:906:cb93:: with SMTP id mf19mr20555377ejb.87.1574411395862; Fri, 22 Nov 2019 00:29:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574411395; cv=none; d=google.com; s=arc-20160816; b=JENagmZIYbqycATdBxxheRgdV7W/UbuIPab13AHKoMq8GQHXKSmekJad6hH1n89qpA YUQmlkGnaZ1WW/k+lt5GxsIXKLj4nk7M41f740c7Dro2AB48sJBgWJOsHVzJwT/cOQP5 BAAh9liwmdonxKMm6zI8bgtnQPZ2mfu+QKhiFVCbmHCImA9rbxH28IExNs49Fzo2fMdc iw1EfN3WWjRxkgqGrLZQmaxjxh7+ZHd3gTGRcG+or/bGIIFNKhsnUTEOCLevtIHcLX8a u4C1bJ+DbGpCnxLcKnvFRonhsm+OlBbW0i5+we6AkBX3WTJa4a55Lo4L/Rv5JHuSBbOU 702A== 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=neBz82CwTokK+Z6OQTHfdjzvRYX7TdjUCzSjESYilKQ=; b=uNsjp3IW/YyecHBa3m0xJEdlwPUnKfDqM5XV8EQApmXjysLNv/3NBtbiiQzBpSj5Zu FHbMyBNzRAj1cb70h8CsLemWH5aW2Qm81KbORl+9SmNgH4JQUXADCDhgoG5cUaKikY+L VlxAYJ3RPQm/qYGbZxEGTQhIqO8DMtmjQfdDeTBNntPU6+AVJptdyXWC/U6AI0rI+E6O 3f2lgNEvvm0kd5Qm7RKDU8UM1alU8jKxQsolz55qTeatb5lsNmpOsZ9F7kBmL4OZ0Qg0 hzPH/nsRF0cILtVZJ7YN/xQd713RKd0Wlssl9qJFPezVQtLz8jMsZR5QfndPG1Uu8ziA DLTg== 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 a61si4392707edf.157.2019.11.22.00.29.32; Fri, 22 Nov 2019 00:29:55 -0800 (PST) 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 S1727544AbfKVIZr (ORCPT + 99 others); Fri, 22 Nov 2019 03:25:47 -0500 Received: from esa1.mentor.iphmx.com ([68.232.129.153]:60568 "EHLO esa1.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727529AbfKVIZo (ORCPT ); Fri, 22 Nov 2019 03:25:44 -0500 IronPort-SDR: 6FKMhYuUEd7O25zaWCBe/YqzppFflF61uGsobbOuJqC7Cjup2dY8PwDG6B/ypUrDuOI5P72hSk 0plPCMxTOlCZRC14HStuVRAc8lFABa6FbaPXJyluxV6lTreZHwEPfwB75oKfhfnNTBMdvmCTKp nwlQ57OekxQeXik/QsrKSwAxC8+9nGGgfACGzLXedWicFSyycLB296e29hEZGtdwf8nnaZvLLH Z8HDGyl5HHdHgw7Jb0Dzb3IcSonGbfOn7vwdz2kh8zJUc1KwZabgT20sNLyCMQS8a6WMYH7Yz9 yuY= X-IronPort-AV: E=Sophos;i="5.69,229,1571731200"; d="scan'208";a="45291148" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 22 Nov 2019 00:25:44 -0800 IronPort-SDR: 8vcvcRxrs7iO1JAqq+x+sUhEE4gMRC1dNJN16YfYxcDEQJ8ULcjqZhNcpoOOEVDzBKgi2+JlII 8n/Dzzf/VL8/VpP9Rhrlr/N5U6IUTc1kvPbeycGNp+2zNg9jwS1uABUzmKuK3bdMhOPJfkGThh GPpyQjYjbsVb0yNhmCYP4JH1zt0P+vc8Vr+8kX44V5VUFBc0lP0PSoECgsTfRd4MgoLbVUeqJQ kixQ/AcCJut5EZpoa1yM4HVgw8OwrVS5+28rQPzFDqN/O6AjSgQVJpsiEY19lAY5H5P0ty4ztH UFo= From: Jiada Wang To: , , , , CC: , , , , Subject: [PATCH v6 27/48] Input: atmel_mxt_ts - orientation is not present in hover Date: Fri, 22 Nov 2019 17:23:41 +0900 Message-ID: <20191122082402.18173-28-jiada_wang@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191122082402.18173-1-jiada_wang@mentor.com> References: <20191122082402.18173-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 fc2f804e5293..de77079e3324 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -1029,10 +1029,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