HID: wiimote: Synchronize wiimote input and hid event handling
authorDavid Herrmann <dh.herrmann@googlemail.com>
Tue, 5 Jul 2011 11:45:12 +0000 (13:45 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 11 Jul 2011 12:30:22 +0000 (14:30 +0200)
commit4d36e9754f6b71870a476e84f418a864c2ddf77c
tree0fa70d8c1f443d6077cc1bcd0996bc6b39a48dd3
parent672bc4e090c9a2c655c28f8295e981609a1b84ba
HID: wiimote: Synchronize wiimote input and hid event handling

The wiimote first starts HID hardware and then registers the input
device. We need to synchronize the startup so no event handler will
start parsing events when the wiimote device is not ready, yet.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote.c