summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorQinghua Jin <qhjin.dev@gmail.com>2022-01-10 12:46:05 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-01-10 12:46:54 -0800
commitb6e43dddaea3dbfa93327f986beb3ec5e8157c4c (patch)
tree5ca533cd77e2f58f76ac87c5b1534cbd94744570 /drivers/input
parent9df136b555221e8eb3f4e5d3958d8fe11783abcf (diff)
downloadlinux-rpi-b6e43dddaea3dbfa93327f986beb3ec5e8157c4c.tar.gz
linux-rpi-b6e43dddaea3dbfa93327f986beb3ec5e8157c4c.tar.bz2
linux-rpi-b6e43dddaea3dbfa93327f986beb3ec5e8157c4c.zip
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>
Diffstat (limited to 'drivers/input')
-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;