diff options
author | Rakesh Bodla <rbodla@nvidia.com> | 2011-06-17 17:47:06 +0530 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-06-22 11:48:06 -0700 |
commit | c9840fb621f45a5fdd9ab55569bd93c59940ae93 (patch) | |
tree | 42db591432e1a6bf4c3cf3c5b136ba67cf1bf093 /drivers | |
parent | fe697a5796f99b9ee1b7ef6b2db7665cc65f2df0 (diff) |
usb: otg: tegra: correcting enable/disable clocks
usbd clock should not be disabled in the probe, otherwise
controller will not work.
Bug 836594
Change-Id: I93754344d1c5944ea1220427b5d85eb343b44d1c
Reviewed-on: http://git-master/r/37300
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/otg/tegra-otg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/otg/tegra-otg.c b/drivers/usb/otg/tegra-otg.c index 2c3690150c04..893b897f5957 100644 --- a/drivers/usb/otg/tegra-otg.c +++ b/drivers/usb/otg/tegra-otg.c @@ -175,6 +175,7 @@ static void irq_work(struct work_struct *work) tegra_start_host(tegra); } } + clk_disable(tegra->clk); tegra_otg_disable_clk(); } @@ -341,7 +342,6 @@ static int tegra_otg_probe(struct platform_device *pdev) INIT_WORK (&tegra->work, irq_work); dev_info(&pdev->dev, "otg transceiver registered\n"); - clk_disable(tegra->clk); return 0; err_irq: |