HID: wacom: fix Bamboo ONE oops
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 25 Mar 2016 14:26:55 +0000 (15:26 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 29 Mar 2016 13:42:27 +0000 (15:42 +0200)
commit580549ef6b3e3fb3b958de490ca99f43a089a2cf
treefdd71d0624dd14e834a0a7e269763e5330c98cab
parentea36ae09105b7688225c02d33f1f3213299360f6
HID: wacom: fix Bamboo ONE oops

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>
Cc: stable@vger.kernel.org
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c