Input: synaptics-rmi4 - correctly swap clip values if axes are swapped
authorLucas Stach <l.stach@pengutronix.de>
Sun, 15 Jan 2017 23:23:05 +0000 (15:23 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 15 Jan 2017 23:41:00 +0000 (15:41 -0800)
commit630a7fa0480bec63e0a300b8485642630340efcf
tree8173958ed106d86938cfbe84aed43b367c64fe83
parent3a11c0e1f1394e9d871dd8e68f9ce01d7c96e28d
Input: synaptics-rmi4 - correctly swap clip values if axes are swapped

The clip values need the same swapping as the maximum values if the
sensor axes are swapped.

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