Skip to content
Commit 3797ef6b authored by David Herrmann's avatar David Herrmann Committed by Jiri Kosina
Browse files

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: default avatarBastien Nocera <hadess@hadess.net>
Signed-off-by: default avatarDavid Herrmann <dh.herrmann@googlemail.com>
Tested-by: default avatarBastien Nocera <hadess@hadess.net>
Signed-off-by: default avatarBastien Nocera <hadess@hadess.net>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent f554ff80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment