HID: wacom: Set input bits before registration
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sat, 8 Oct 2011 21:20:17 +0000 (23:20 +0200)
committerJiri Kosina <jkosina@suse.cz>
Sat, 8 Oct 2011 21:20:17 +0000 (23:20 +0200)
We shouldn't change the event flags of input devices after they get registered.
Otherwise, udev will not get notified of these flags and cannot setup the
devices properly.
This fixes the probing to set the input event flags on the input_mapped callback
instead of the probe function.

Reported-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Tested-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found