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)
commit645a397d325db6e1bb36588095ae637738b37693
treed19dcc20251c8b18cd321cd23d4b5d77f3cb6aff
parentfd629294759b1e6e5dfc0c9bf892e63553dcc6fa
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