Input: wacom - fix error path in wacom_probe()
authorAlexander Strakh <cromlehg@gmail.com>
Fri, 11 Feb 2011 08:44:41 +0000 (00:44 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 Feb 2011 09:01:15 +0000 (01:01 -0800)
commit4b6d44344000ff3e62faf595e5f89fd8d9e52a94
tree57232a2d76f4a72019c46f8099203c1db0681535
parent0fbc9fdb7e747500111dcc4a5f5f3ceed0360d71
Input: wacom - fix error path in wacom_probe()

If we fail to retrieve HID descriptor we need to free allocated URB so
jump to proper label to do that.

Signed-off-by: Alexander Strakh <strakh@ispras.ru>
Acked-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/wacom_sys.c