]> git.baikalelectronics.ru Git - kernel.git/commit
Input: psmouse - ESD workaround fix for OLPC XO touchpad
authorZephaniah E. Hull <warp@aehallh.com>
Fri, 15 May 2009 05:02:33 +0000 (22:02 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 16 May 2009 02:24:18 +0000 (19:24 -0700)
commit1aa87523e8617e26be125c07ed19addaf6e2e8df
treee98a30cc19618cec0e58f263072705ba558ad5c9
parent3ba057d5610b17b57d550ceacaa2b16d39b11a20
Input: psmouse - ESD workaround fix for OLPC XO touchpad

It appears that when the XO touchpad unit resets from ESD, it sends AA
AA instead of AA 00, the psmouse-base code handles the case of AA 00 by
triggering a serio reconnect for the port, causing a full reprobe of
the device.

Testing with OFW shows that this is likely to solve the problem, so
the attached patch simply expands the existing test to also catch AA AA.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/psmouse-base.c