Searched hist:"9 f423801c9e849df56b37833df895685c9d8a940" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/input/mouse/ |
H A D | elan_i2c_i2c.c | diff 9f423801c9e849df56b37833df895685c9d8a940 Mon Apr 20 12:19:24 CDT 2015 Duson Lin <dusonlin@emc.com.tw> 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>
|
H A D | elan_i2c_smbus.c | diff 9f423801c9e849df56b37833df895685c9d8a940 Mon Apr 20 12:19:24 CDT 2015 Duson Lin <dusonlin@emc.com.tw> 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>
|