[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220106083803.355106-1-qhjin.dev@gmail.com>
Date: Thu, 6 Jan 2022 16:38:02 +0800
From: Qinghua Jin <qhjin.dev@...il.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Qinghua Jin <qhjin.dev@...il.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] Input: ti_am335x_tsc: Fix type
change 'postion' to 'position'
Signed-off-by: Qinghua Jin <qhjin.dev@...il.com>
---
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 83e685557a19..d77555e0571e 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;
--
2.30.2
Powered by blists - more mailing lists