]> git.baikalelectronics.ru Git - kernel.git/commit
Input: bcm5974 - switch back to normal mode when closing
authorHenrik Rydberg <rydberg@euromail.se>
Sun, 14 Sep 2008 15:52:44 +0000 (11:52 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 16 Sep 2008 16:28:13 +0000 (12:28 -0400)
commitb58e2ee1487ba5de32c13608b943f69570d1b779
treeb8cad1c1e5b5afb7621a090934240d8b07859c8a
parent2faefc36d35014fca320be73ad128a802cdcd936
Input: bcm5974 - switch back to normal mode when closing

Staying in multi-touch mode after closing the device sometimes makes
the keyboard drop keys or repeat keys irratically. The conjecture is
that some internal buffer starts to overflow, resulting in undefined
behavior. Switching back to normal mode when closing the device makes
the problem go away.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/bcm5974.c