projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d04679
)
usb: dwc3: make dwc3_get_device_id() return the id
author
Dan Carpenter
<dan.carpenter@oracle.com>
Sat, 4 Feb 2012 13:37:14 +0000
(16:37 +0300)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 2 Mar 2012 10:12:02 +0000
(12:12 +0200)
We always return zero instead of the id we found.
Cc: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc3/core.c
b/drivers/usb/dwc3/core.c
index 33d9868320130013bfe709f9733310128f47fe0f..3fd4e843139e6e0e8007a91fc9963233ff0a6d55 100644
(file)
--- a/
drivers/usb/dwc3/core.c
+++ b/
drivers/usb/dwc3/core.c
@@
-86,7
+86,7
@@
again:
id = -ENOMEM;
}
- return
0
;
+ return
id
;
}
EXPORT_SYMBOL_GPL(dwc3_get_device_id);