summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-magicmouse.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2011-10-09 01:20:17 +0400
committerJiri Kosina <jkosina@suse.cz>2011-10-09 01:20:17 +0400
commit3797ef6b6bc041755318917855d63879679c6dd9 (patch)
tree99ed2c53cd3caa16a131309fc222f93b82a0bf94 /drivers/hid/hid-magicmouse.c
parentf554ff80339b4005856e6a86454d6ea2bb962ee5 (diff)
downloadlinux-3797ef6b6bc041755318917855d63879679c6dd9.tar.xz
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/hid-magicmouse.c')
0 files changed, 0 insertions, 0 deletions