From: Arjan Opmeer Date: Sun, 19 Apr 2009 02:10:17 +0000 (-0700) Subject: Input: elantech - make sure touchpad is really in absolute mode X-Git-Tag: v2.6.30-rc5~54^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2546df69b6bef19513112fd54ffb5d37cb3eb7a;p=pandora-kernel.git Input: elantech - make sure touchpad is really in absolute mode There exist laptops with Elantech touchpads where switching to absolute mode does not happen, although writing the configuration register succeeds without error. Reading back the register afterwards reveils that the absolute mode bit is not set as if masked out by the touchpad firmware. Always read back register 0x10, make sure that for hardware version 1 the absolute mode bit is actually set and fail otherwise. This prevents the case where the touchpad is claimed by the Elantech driver but is nonetheless not working. Signed-off-by: Arjan Opmeer Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed