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)
commitd55d0b56b9c3a0d94ca6cc1643063610c138dde9
tree3290a43f73ba12c45cb1d4dc5a24272f5766de49
parent57ff96e0f08bb16c49f66250c9d90452dbbf1293
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