summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2011-01-13 13:23:30 +0800
committerAlan Tull <alan.tull@freescale.com>2011-02-03 16:37:32 -0600
commit4f87c61f07ca4c692d9a5b1f1c538396857ad112 (patch)
tree117c0410002823317493b0387472eb295faa0b2f /drivers/usb
parente4b6d2662c2e07e59b25cebc564d06f009ccde4d (diff)
ENGR00137927-3 usb-host add vbus ON operation for OTG host driver
The old implementation did not cover the host only driver for OTG port situation. Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ehci-arc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-arc.c b/drivers/usb/host/ehci-arc.c
index 7764b10dde53..af86a962826c 100644
--- a/drivers/usb/host/ehci-arc.c
+++ b/drivers/usb/host/ehci-arc.c
@@ -242,7 +242,8 @@ int usb_hcd_fsl_probe(const struct hc_driver *driver,
retval = otg_set_host(ehci->transceiver, &ehci_to_hcd(ehci)->self);
if (retval)
otg_put_transceiver(ehci->transceiver);
- } else if (pdata->operating_mode == FSL_USB2_MPH_HOST)
+ } else if ((pdata->operating_mode == FSL_USB2_MPH_HOST) || \
+ (pdata->operating_mode == FSL_USB2_DR_HOST))
fsl_platform_set_vbus_power(pdata, 1);
if (pdata->suspended) {