]> 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)
commit81d154dbda314f9f3e36f8da5c042f537b1cd372
tree9d540682dbbad8ceca9f04fde7242de09cf6a136
parent52ba13b33efad3c949db38f78eaa8b512639bfcf
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