]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Input: improve parsing OF parameters for touchscreens
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 1 Jun 2015 17:35:16 +0000 (10:35 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 25 Jun 2015 21:45:46 +0000 (14:45 -0700)
commit7c494375b773497228502133879072a9e959c063
tree9d540682dbbad8ceca9f04fde7242de09cf6a136
parent38e1b72bd8a1de4d7adb6a7cea88174e412cf4d7
Input: improve parsing OF parameters for touchscreens

When applying touchscreen parameters specified in device tree let's make
sure we keep whatever setup was done by the driver and not reset the
missing values to zero.

Reported-by: Pavel Machek <pavel@ucw.cz>
Tested-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/edt-ft5x06.c
drivers/input/touchscreen/of_touchscreen.c
drivers/input/touchscreen/tsc2005.c
include/linux/input/touchscreen.h