projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fbc9fd
)
Input: wacom - fix error path in wacom_probe()
author
Alexander Strakh
<cromlehg@gmail.com>
Fri, 11 Feb 2011 08:44:41 +0000
(
00:44
-0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Fri, 11 Feb 2011 09:01:15 +0000
(
01:01
-0800)
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
patch
|
blob
|
history
diff --git
a/drivers/input/tablet/wacom_sys.c
b/drivers/input/tablet/wacom_sys.c
index
fc38149
..
cf8fb9f
100644
(file)
--- 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 fail
2
;
+ goto fail
3
;
wacom_setup_device_quirks(features);