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)
commitcd72ad3f57c400baa2ddb78b4fc2781cf68ffb6f
treeb8cad1c1e5b5afb7621a090934240d8b07859c8a
parent9ce1ca284a322ba6f9d691136a29c9cfe381e1fc
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