projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3fe9f6
)
usb: dwc3: fix the error returned with usb3_phy failure
author
Ruchika Kharwar
<ruchika@ti.com>
Thu, 4 Jul 2013 05:59:34 +0000
(
00:59
-0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 4 Aug 2013 08:50:48 +0000
(16:50 +0800)
commit
315955d707b50c8aad20a32ec0dd4c9fe243cabe
upstream.
When there is an error with the usb3_phy probe or absence, the error returned
is erroneously for usb2_phy.
Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/core.c
b/drivers/usb/dwc3/core.c
index c35d49d39b7615f83e7e71a9f009643e33c8d760..358375e0b291098d8be40d65bdfbbff7f97f0826 100644
(file)
--- a/
drivers/usb/dwc3/core.c
+++ b/
drivers/usb/dwc3/core.c
@@
-450,7
+450,7
@@
static int dwc3_probe(struct platform_device *pdev)
}
if (IS_ERR(dwc->usb3_phy)) {
- ret = PTR_ERR(dwc->usb
2
_phy);
+ ret = PTR_ERR(dwc->usb
3
_phy);
/*
* if -ENXIO is returned, it means PHY layer wasn't