From patchwork Sat Jan 23 06:58:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: liumingyu X-Patchwork-Id: 12041155 Return-Path: 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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 DE9A4C433E0 for ; Sat, 23 Jan 2021 06:59:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B16CC2070E for ; Sat, 23 Jan 2021 06:59:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726472AbhAWG7J (ORCPT ); Sat, 23 Jan 2021 01:59:09 -0500 Received: from m12-16.163.com ([220.181.12.16]:39476 "EHLO m12-16.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbhAWG7H (ORCPT ); Sat, 23 Jan 2021 01:59:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=KraP/ NX5seaXvKYciU17/aNwpDeyDWQLEp1Gly+AH84=; b=j6pl/uUOtXaWEGwKjK7QR w53gqQYhmrMVheiwGUuAME8zprgeJBkWT1nKsgQZeCkQPRhoaWkNtHSoWvbZQqCf U43Wb4wOXeaHsicuVydXerRpip+XSzDUAMsgEVL1iMHYgna/XYMaK/+5XWsU+H/3 wSdRGUSEp+EuIXoRKUwY/0= Received: from liumingyu.ccdomain.com (unknown [119.137.55.101]) by smtp12 (Coremail) with SMTP id EMCowACnqk71yAtgyNv1YQ--.54774S2; Sat, 23 Jan 2021 14:57:58 +0800 (CST) From: liumingyu To: dmitry.torokhov@gmail.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, liumingyu Subject: [PATCH] Input: ti_am335x_tsc - fix spelling mistake Date: Sat, 23 Jan 2021 14:58:03 +0800 Message-Id: <20210123065803.128-1-liu_mingyu@163.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CM-TRANSID: EMCowACnqk71yAtgyNv1YQ--.54774S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtrWUAr1xWF1UAr1kuw45Jrb_yoW3GFbEkr 10qwn2gr1qyrWqk34Dtwn3Z34ktF18urWkAw1kKrW3try2vrnrJa98Wa1UAF4UKw17C34D Xr4agFySkan7WjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU87DG7UUUUU== X-Originating-IP: [119.137.55.101] X-CM-SenderInfo: 5olxsz5lqj53i6rwjhhfrp/1tbiQxYjmlc7St7UzAAAsM Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org From: liumingyu fix typo "postion" -> "position" Signed-off-by: liumingyu --- drivers/input/touchscreen/ti_am335x_tsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c index 83e6855..d77555e 100644 --- a/drivers/input/touchscreen/ti_am335x_tsc.c +++ b/drivers/input/touchscreen/ti_am335x_tsc.c @@ -310,7 +310,7 @@ static irqreturn_t titsc_irq(int irq, void *dev) /* * Calculate pressure using formula * Resistance(touch) = x plate resistance * - * x postion/4096 * ((z2 / z1) - 1) + * x position/4096 * ((z2 / z1) - 1) */ z = z1 - z2; z *= x;