projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee1cd51
)
usb: musb: dsps: request phy using our device pointer
author
Felipe Balbi
<balbi@ti.com>
Wed, 11 Mar 2015 15:18:40 +0000
(10:18 -0500)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 11 Mar 2015 15:19:34 +0000
(10:19 -0500)
musb shouldn't have of_node and phy phandle is passed
to dsps device, not musb's.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/musb_dsps.c
b/drivers/usb/musb/musb_dsps.c
index baa757ba13534daa7a27ce05a16da18acb85a93f..a528d3be70c56dec3efbc368723b8a73a2fd6ce7 100644
(file)
--- a/
drivers/usb/musb/musb_dsps.c
+++ b/
drivers/usb/musb/musb_dsps.c
@@
-432,7
+432,7
@@
static int dsps_musb_init(struct musb *musb)
musb->ctrl_base = reg_base;
/* NOP driver needs change if supporting dual instance */
- musb->xceiv = devm_usb_get_phy_by_phandle(dev, "phys", 0);
+ musb->xceiv = devm_usb_get_phy_by_phandle(dev
->parent
, "phys", 0);
if (IS_ERR(musb->xceiv))
return PTR_ERR(musb->xceiv);