mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
9df136b555
commit
b6e43dddae
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ static irqreturn_t titsc_irq(int irq, void *dev)
|
||||||
/*
|
/*
|
||||||
* Calculate pressure using formula
|
* Calculate pressure using formula
|
||||||
* Resistance(touch) = x plate resistance *
|
* Resistance(touch) = x plate resistance *
|
||||||
* x postion/4096 * ((z2 / z1) - 1)
|
* x position/4096 * ((z2 / z1) - 1)
|
||||||
*/
|
*/
|
||||||
z = z1 - z2;
|
z = z1 - z2;
|
||||||
z *= x;
|
z *= x;
|
||||||
|
|
Loading…
Add table
Reference in a new issue