Re: [PATCH v5] Input: Improve the performance of alps v5-protocol's touchpad
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2013-12-27 00:00:15
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2013-12-27 00:00:15
On Tue, Dec 24, 2013 at 05:18:37PM +0800, Yunkang Tang wrote:
Hi all, Here is the 5th patch of supporting ALPS v5 protocol's device. Change since v4: - Use temporary variables to store the result of fls() and ffs(). (Suggestion by Kevin) - Use PSMOUSE_* macro instead of raw hex directly. (Suggestion by Kevin) - Change V5 device's mask0 from 0xc8 to 0xd8 to protect the abnormal case. (Discuss with Dmitry) Self test with v5 device: - Checked on both 32-bit & 64-bit environment. - Cursor moves correctly. - 1Finger Tap/Drag works well. - 2Finger Tap works well. - 2Finger Scroll works well. - L/R Buttons do function Signed-off-by: Yunkang Tang <redacted>
Applied, thank you. -- Dmitry