summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQinghua Jin <qhjin.dev@gmail.com>2022-01-10 23:46:05 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-01-10 23:46:54 +0300
commitb6e43dddaea3dbfa93327f986beb3ec5e8157c4c (patch)
tree5ca533cd77e2f58f76ac87c5b1534cbd94744570
parent9df136b555221e8eb3f4e5d3958d8fe11783abcf (diff)
downloadlinux-b6e43dddaea3dbfa93327f986beb3ec5e8157c4c.tar.xz
Input: ti_am335x_tsc - fix a typo in a comment
change 'postion' to 'position' Signed-off-by: Qinghua Jin <qhjin.dev@gmail.com> Link: https://lore.kernel.org/r/20220106084215.355295-1-qhjin.dev@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--drivers/input/touchscreen/ti_am335x_tsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c
index f4ef218bc1b8..f2fb6a9a1a57 100644
--- a/drivers/input/touchscreen/ti_am335x_tsc.c
+++ b/drivers/input/touchscreen/ti_am335x_tsc.c
@@ -318,7 +318,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;