]> git.baikalelectronics.ru Git - kernel.git/commit
Input: wdt87xx_i2c - add a scaling factor for TOUCH_MAJOR event
authorHungNien Chen <hn.chen@weidahitech.com>
Wed, 1 Jul 2015 17:06:49 +0000 (10:06 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 1 Jul 2015 18:06:50 +0000 (11:06 -0700)
commit8a05efd381edaa7821d8e0bb6de7054ad5cc28cf
tree3290a43f73ba12c45cb1d4dc5a24272f5766de49
parent169ed2f0257d7c1f4c54b13d18f874c7a670ffe1
Input: wdt87xx_i2c - add a scaling factor for TOUCH_MAJOR event

Get the scaling factor when it reads the sys params. The width value will
multiple the factor and report the value in the TOUCH_MAJOR event.

Signed-off-by: HungNien Chen <hn.chen@weidahitech.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/wdt87xx_i2c.c