Skip to content

Commit b6e43dd

Browse files
qhjindevdtor
authored andcommitted
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>
1 parent 9df136b commit b6e43dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/input/touchscreen/ti_am335x_tsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ static irqreturn_t titsc_irq(int irq, void *dev)
318318
/*
319319
* Calculate pressure using formula
320320
* Resistance(touch) = x plate resistance *
321-
* x postion/4096 * ((z2 / z1) - 1)
321+
* x position/4096 * ((z2 / z1) - 1)
322322
*/
323323
z = z1 - z2;
324324
z *= x;

0 commit comments

Comments
 (0)