Input: mac mouse emulation - add locking
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 12 Nov 2010 06:03:59 +0000 (22:03 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 12 Nov 2010 06:22:19 +0000 (22:22 -0800)
commit87abb6bbdbcfbced2ce0bcad68dd89ac3ff9464b
treefb272c8f41a094b46561d062a5aefdfd24084dac
parenta309cdc778b9eece59b34e9e1c26e41476dbbcd6
Input: mac mouse emulation - add locking

We need to add appropriate locking when toggling mac mouse emulation
on and off to ensure that input device and handler are in consistent
state.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/macintosh/mac_hid.c