Input: pmouse - introduce proper locking so state-changing
authorDmitry Torokhov <dtor_core@ameritech.net>
Wed, 1 Jun 2005 07:39:44 +0000 (02:39 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Wed, 1 Jun 2005 07:39:44 +0000 (02:39 -0500)
commit04df1925fcda9a35c716423ad2b73abd70eb0913
tree6094c0e71b5d17a62211cd56da7bb0ecb97a3df6
parent8121152c1770ef1cd029030d51802c65c489950d
Input: pmouse - introduce proper locking so state-changing
       operations do not iterfere with each other.
       Also make sure that serio core takes serio->drv_sem
       not only for connect/disconnect but for reconnect
       too.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/psmouse-base.c
drivers/input/serio/serio.c