projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1974d49
)
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
Felipe Balbi
<balbi@ti.com>
Mon, 15 Jul 2013 10:00:24 +0000
(13:00 +0300)
When there is an error with the usb3_phy probe or absence, the error returned
is erroneously for usb2_phy.
Cc: <stable@vger.kernel.org>
Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/core.c
b/drivers/usb/dwc3/core.c
index
c35d49d
..
358375e
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