From: David Herrmann Date: Sat, 8 Oct 2011 21:20:17 +0000 (+0200) Subject: HID: wacom: Set input bits before registration X-Git-Tag: v3.2-rc1~187^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3797ef6b6bc041755318917855d63879679c6dd9;p=pandora-kernel.git 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 Signed-off-by: David Herrmann Tested-by: Bastien Nocera Signed-off-by: Bastien Nocera Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed