OSDN Git Service

Input: alps - use the generic process_bitmap function for v5 touchpads
authorHans de Goede <hdegoede@redhat.com>
Wed, 20 May 2015 21:43:09 +0000 (14:43 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 20 May 2015 21:45:45 +0000 (14:45 -0700)
commitdccf1dd8458236a28552510b83a06a8cc0f1c473
tree73cd5b0a11fab0106ae684333ef378a5d3fa498f
parent688ea364b2e73ae4d757e550ec06663a4903b334
Input: alps - use the generic process_bitmap function for v5 touchpads

Now that the generic process_bitmap function has been improved to offer
accurate coordinates for the first touch we can use it for v5 (dolphin)
touchpads too.

Besides being a nice code cleanup this also fixes the saw tooth pattern
in the coordinates for the second touch the dolphin specific version had.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c