diff options
author | Alexander Strakh <cromlehg@gmail.com> | 2011-02-11 08:44:41 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-02-11 09:01:15 (GMT) |
commit | 4b6d44344000ff3e62faf595e5f89fd8d9e52a94 (patch) | |
tree | 57232a2d76f4a72019c46f8099203c1db0681535 /drivers/input/tablet | |
parent | 0fbc9fdb7e747500111dcc4a5f5f3ceed0360d71 (diff) | |
download | linux-fsl-qoriq-4b6d44344000ff3e62faf595e5f89fd8d9e52a94.tar.xz |
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>
Diffstat (limited to 'drivers/input/tablet')
-rw-r--r-- | drivers/input/tablet/wacom_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c index fc38149..cf8fb9f 100644 --- a/drivers/input/tablet/wacom_sys.c +++ b/drivers/input/tablet/wacom_sys.c @@ -519,7 +519,7 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i /* Retrieve the physical and logical size for OEM devices */ error = wacom_retrieve_hid_descriptor(intf, features); if (error) - goto fail2; + goto fail3; wacom_setup_device_quirks(features); |