summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-tegra.c
diff options
context:
space:
mode:
authorVenu Byravarasu <vbyravarasu@nvidia.com>2013-05-16 16:12:59 +0200
committerFelipe Balbi <balbi@ti.com>2013-05-30 01:46:46 +0200
commit9cd9384c73395f6ce78e1b9d529bc9f294fd5223 (patch)
tree8e521b70da4a9db260c8f72b1624df884694730c /drivers/usb/host/ehci-tegra.c
parentusb: phy: tegra: Return correct error value provided by clk_get_sys (diff)
downloadlinux-9cd9384c73395f6ce78e1b9d529bc9f294fd5223.tar.xz
linux-9cd9384c73395f6ce78e1b9d529bc9f294fd5223.zip
usb: phy: tegra: Get PHY mode using DT
Added a new PHY mode to support OTG. Obtained Tegra USB PHY mode using DT property. Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/host/ehci-tegra.c')
-rw-r--r--drivers/usb/host/ehci-tegra.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c
index 59d111bf44a9..d64199044b4a 100644
--- a/drivers/usb/host/ehci-tegra.c
+++ b/drivers/usb/host/ehci-tegra.c
@@ -736,7 +736,6 @@ static int tegra_ehci_probe(struct platform_device *pdev)
tegra->phy = tegra_usb_phy_open(&pdev->dev, instance, hcd->regs,
pdata->phy_config,
- TEGRA_USB_PHY_MODE_HOST,
tegra_ehci_set_pts,
tegra_ehci_set_phcd);
if (IS_ERR(tegra->phy)) {