summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDuson Lin <dusonlin@emc.com.tw>2015-04-20 20:19:24 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-04-20 20:30:09 +0300
commit9f423801c9e849df56b37833df895685c9d8a940 (patch)
tree2fcb2973ca8422f12540f5a65fbd6fd3a161ed22 /lib
parent090ad325068810a9edb09dfe8fec97a724c5743f (diff)
downloadlinux-9f423801c9e849df56b37833df895685c9d8a940.tar.xz
Input: elan_i2c - fix calculating number of x and y traces.
According to Elan's firmware engineers we should not be subtracting 1 form the raw number of x and y traces so that the pitch size is correct. For example, if the touchpad x resolution is 2800 and x trace number is 20, the pitch size of x should be 2800/20 = 140, not 2800/19 = 147.36. Signed-off-by: Duson Lin <dusonlin@emc.com.tw> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions