diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2012-07-07 10:56:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-09 12:59:23 -0400 |
commit | a2c3d6902f6f9916b5376c44baa8c1d08bf92a27 (patch) | |
tree | 5148bf5983295422ff66b67a1df66a51b627c790 /drivers/usb/chipidea/host.c | |
parent | 526c51382d59144a3704970ab111d668e604a10f (diff) |
usb: chipidea: permit driver bindings pass phy pointer
Sometimes, the driver bindings may know what phy they use.
For example, when using device tree, the usb controller may have a
phandler pointing to usb phy.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Felipe Balbi <balbi@ti.com>
Tested-by: Subodh Nijsure <snijsure@grid-net.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/host.c')
-rw-r--r-- | drivers/usb/chipidea/host.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c index 4a4fdb8c65f8..ebff9f4f56ec 100644 --- a/drivers/usb/chipidea/host.c +++ b/drivers/usb/chipidea/host.c | |||
@@ -117,6 +117,7 @@ static int host_start(struct ci13xxx *ci) | |||
117 | hcd->has_tt = 1; | 117 | hcd->has_tt = 1; |
118 | 118 | ||
119 | hcd->power_budget = ci->platdata->power_budget; | 119 | hcd->power_budget = ci->platdata->power_budget; |
120 | hcd->phy = ci->transceiver; | ||
120 | 121 | ||
121 | ehci = hcd_to_ehci(hcd); | 122 | ehci = hcd_to_ehci(hcd); |
122 | ehci->caps = ci->hw_bank.cap; | 123 | ehci->caps = ci->hw_bank.cap; |