]> git.baikalelectronics.ru Git - kernel.git/commit
Input: synaptics-rmi4 - fix axis-swap behavior
authorLucas Stach <l.stach@pengutronix.de>
Tue, 5 Jun 2018 17:34:54 +0000 (10:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 11 Jun 2018 17:20:16 +0000 (10:20 -0700)
commit9572e1e46a6b3b80d1ab5983410036fabf2d623a
treed19dcc20251c8b18cd321cd23d4b5d77f3cb6aff
parent61872e02ac0b5a9f64a1c06809260b8414950dc9
Input: synaptics-rmi4 - fix axis-swap behavior

The documentation for the touchscreen-swapped-x-y property states that
swapping is done after inverting if both are used. RMI4 did it the other
way around, leading to inconsistent behavior with regard to other
touchscreens.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Nick Dyer <nick@shmanahar.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_2d_sensor.c