OSDN Git Service

HID: wacom: fix Bamboo ONE oops
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 25 Mar 2016 14:26:55 +0000 (15:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2016 06:42:15 +0000 (15:42 +0900)
commitf174a1fd2c0e577646a1263f7c7d01e588ca28bd
treef84c6c59c6a76a4224240ee8c2fc7ad63a5eb591
parentd622dad32621a1a33ba74b1b29a19cfd5abe069f
HID: wacom: fix Bamboo ONE oops

commit 580549ef6b3e3fb3b958de490ca99f43a089a2cf upstream.

Looks like recent changes in the Wacom driver made the Bamboo ONE crashes.
The tablet behaves as if it was a regular Bamboo device with pen, touch
and pad, but there is no physical pad connected to it.
The weird part is that the pad is still sending events and given that
there is no input node connected to it, we get  anull pointer exception.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=1317116
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/wacom_wac.c