Commit 2896a27f authored by Bhaskar Chowdhury's avatar Bhaskar Chowdhury Committed by Dmitry Torokhov
parent 497c3183
...@@ -986,7 +986,7 @@ static void alps_get_finger_coordinate_v7(struct input_mt_pos *mt, ...@@ -986,7 +986,7 @@ static void alps_get_finger_coordinate_v7(struct input_mt_pos *mt,
case V7_PACKET_ID_TWO: case V7_PACKET_ID_TWO:
mt[1].x &= ~0x000F; mt[1].x &= ~0x000F;
mt[1].y |= 0x000F; mt[1].y |= 0x000F;
/* Detect false-postive touches where x & y report max value */ /* Detect false-positive touches where x & y report max value */
if (mt[1].y == 0x7ff && mt[1].x == 0xff0) { if (mt[1].y == 0x7ff && mt[1].x == 0xff0) {
mt[1].x = 0; mt[1].x = 0;
/* y gets set to 0 at the end of this function */ /* y gets set to 0 at the end of this function */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment