Skip to content

Commit

Permalink
Input: ti_am335x_tsc - fix a typo in a comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Qinghua Jin authored and Dmitry Torokhov committed Jan 10, 2022
1 parent 9df136b commit b6e43dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/ti_am335x_tsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b6e43dd

Please sign in to comment.