]> git.baikalelectronics.ru Git - kernel.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)
commit4f07a92a0025eba53a4b45ec179c68cead025746
tree9d540682dbbad8ceca9f04fde7242de09cf6a136
parent21a316392b12216b317694ca0e65a56d373bbc4a
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