Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3365933ybb; Tue, 31 Mar 2020 03:54:01 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsMoMpy4X3CkMyrmQ8B6GjRjJrOGmUw0Xy4XrEm9Qq9OxCxUKdKYQLuKy+5xfR7dYeSEIK5 X-Received: by 2002:aca:5b04:: with SMTP id p4mr1706653oib.105.1585652041030; Tue, 31 Mar 2020 03:54:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585652041; cv=none; d=google.com; s=arc-20160816; b=IqC8mVV6Cv1I8Y9pGuvgykd1ckJoCa4BSWzODGH7S3avctSCvgnFlkV+rnX0jL+d4E j9OBEQJ6YsXRmbxQZ39XWSHwoKuREPmzDBPQHLRvxecFwfGlhWoqQ2jyqYRbYXrvjKV0 zT63fW/XnLPESkpeimEZA0oVxaSTUQyDzVu/WYVovHgxfDIXqPwyqV3JiR7akTns0hxO CPFoiWOgm4FF6GKcUbiVBSCmiSQJ+B9K1NG9u5XJXUnF7OPP+3nJIlgJTvRgc8T2o+ef y8KJl+CjVtORFBNQfR0YBolEB/BJZPL90WubLJx8e68FmoVbSpMmwp+GIqn/nlmw5bbZ fwjA== 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=eTu0f85jlkYoA2WSq2tgeoHRGuCvEM6iO6ESUz714VE=; b=yEY2nmfOnMLsduunsDCH3vJ5ocHzWxSByH78VqQNdhAUoB+dcfjc5NmsDWIltCA4Wt sJt6VPCM14Erg8d/YwX4ivBdbWFgvDkJO1vVIgxXsPHajgxNPTEWP05G7Pd6LTagm3C4 xQtDxFtDMROjlMdJi5L3qRWjDuHaZliZHw+mUP13+qw8CYXAdqy6vDWb7FCL5XP9LGt6 AiMxghrOJ06DSay3R1rCkhMa6KZPXYha3jEBTo4Ea3wYxXlgFZeCoYC92DQkGMknih9K qFKsQDfNWZwDt5NBnHtksj64Rl5jDKbcSlfR2J6lbvxOb7Yh8iU3uDkZzlsCzK4OQj5p G4Hg== 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 t11si7042941oig.108.2020.03.31.03.53.49; Tue, 31 Mar 2020 03:54:01 -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 S1730839AbgCaKxD (ORCPT + 99 others); Tue, 31 Mar 2020 06:53:03 -0400 Received: from esa4.mentor.iphmx.com ([68.232.137.252]:43597 "EHLO esa4.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730601AbgCaKxB (ORCPT ); Tue, 31 Mar 2020 06:53:01 -0400 IronPort-SDR: Dm/vb8HQ2KQZ+t4YMBBNT/GGW0L11hd3FOPuea4EXlctJ1pfhi5YhRn8DXU8DBu2UA6/1Cr6p5 qidkIGRAd3PXk5ugQ2jEWzJLXZ2INcBqMFViPkDjdWEQ65B+Abq74Y6YG23hbIUOSWyp63mbJW uOqmb0fO0jAsCMstVZmOPzIhigRBouFwrys7ZiuALCS61nArMPbUgdFla6LYVa3b4cD0fsKil9 1IZ7MYyWhDQfY7J3l/ev9TgpUkMzdW3k/bK0NghXj6rL0U8MXrqNfuD+wVehC2cVxcWHNfuGNO LhA= X-IronPort-AV: E=Sophos;i="5.72,327,1580803200"; d="scan'208";a="47330803" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 31 Mar 2020 02:53:01 -0800 IronPort-SDR: oPNaySp6kJ9zbsH9iw9RA4VW4nRhH0EANtxiptfLfQymY+OTaoAKdC1hPs+xLkUNjsEVwg6ErD SoJy4uf4qbE//pNgPSmdC/LfHyc1PolGPe5LwT4iH6kB5A91F3PlGsatdhxlnVOS8RyK8sYAli ct5j80zDR2ICuJVGplPxxwQ8IXO3ZPBm/6ub+oWvqLn5++3GXfE16bha+kRt/uJEldtMlfW63d I1IZqXw+q6PIqSNZeNq4c3ftPnA0VlhIl2/LW0pcKvGEtQJk/adub5yqnpoInivAMcfDUknsNv BtY= From: Jiada Wang To: , , , , CC: , , , , Subject: [PATCH v10 33/55] Input: atmel_mxt_ts - orientation is not present in hover Date: Tue, 31 Mar 2020 03:50:29 -0700 Message-ID: <20200331105051.58896-34-jiada_wang@mentor.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200331105051.58896-1-jiada_wang@mentor.com> References: <20200331105051.58896-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 daa77eb9561b..b1f54bf207b8 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