]> 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)
commit7e63609dc622feed2e6863faaaa85fe099978773
tree3290a43f73ba12c45cb1d4dc5a24272f5766de49
parent8e0b7b3d1620948b9d1ebc38b684ff501ba77542
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