Input: ti_am335x_tsc - fix a typo in a comment
authorQinghua Jin <qhjin.dev@gmail.com>
Mon, 10 Jan 2022 20:46:05 +0000 (12:46 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 10 Jan 2022 20:46:54 +0000 (12:46 -0800)
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>
drivers/input/touchscreen/ti_am335x_tsc.c

index f4ef218bc1b84062a5012f1e67302f1b6edec563..f2fb6a9a1a579e61bdeed31bb4bc73bc18db6ab7 100644 (file)
@@ -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;