summary refs log tree commit diff
path: root/drivers/hid/usbhid
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2011-10-08 23:20:17 +0200
committerJiri Kosina <jkosina@suse.cz>2011-10-08 23:20:17 +0200
commit3797ef6b6bc041755318917855d63879679c6dd9 (patch)
tree99ed2c53cd3caa16a131309fc222f93b82a0bf94 /drivers/hid/usbhid
parentf554ff80339b4005856e6a86454d6ea2bb962ee5 (diff)
downloadlinux-3797ef6b6bc041755318917855d63879679c6dd9.tar.gz
HID: wacom: Set input bits before registration
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>
Diffstat (limited to 'drivers/hid/usbhid')
0 files changed, 0 insertions, 0 deletions