diff options
Diffstat (limited to 'drivers/mfd/omap-usb-host.c')
-rw-r--r-- | drivers/mfd/omap-usb-host.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index 2520facd4ccc..eb5db28b3fbd 100644 --- a/drivers/mfd/omap-usb-host.c +++ b/drivers/mfd/omap-usb-host.c | |||
@@ -278,7 +278,7 @@ static int usbhs_runtime_resume(struct device *dev) | |||
278 | 278 | ||
279 | dev_dbg(dev, "usbhs_runtime_resume\n"); | 279 | dev_dbg(dev, "usbhs_runtime_resume\n"); |
280 | 280 | ||
281 | omap_tll_enable(); | 281 | omap_tll_enable(pdata); |
282 | 282 | ||
283 | if (!IS_ERR(omap->ehci_logic_fck)) | 283 | if (!IS_ERR(omap->ehci_logic_fck)) |
284 | clk_enable(omap->ehci_logic_fck); | 284 | clk_enable(omap->ehci_logic_fck); |
@@ -353,7 +353,7 @@ static int usbhs_runtime_suspend(struct device *dev) | |||
353 | if (!IS_ERR(omap->ehci_logic_fck)) | 353 | if (!IS_ERR(omap->ehci_logic_fck)) |
354 | clk_disable(omap->ehci_logic_fck); | 354 | clk_disable(omap->ehci_logic_fck); |
355 | 355 | ||
356 | omap_tll_disable(); | 356 | omap_tll_disable(pdata); |
357 | 357 | ||
358 | return 0; | 358 | return 0; |
359 | } | 359 | } |
@@ -527,6 +527,9 @@ static int usbhs_omap_probe(struct platform_device *pdev) | |||
527 | 527 | ||
528 | omap->pdata = pdata; | 528 | omap->pdata = pdata; |
529 | 529 | ||
530 | /* Initialize the TLL subsystem */ | ||
531 | omap_tll_init(pdata); | ||
532 | |||
530 | pm_runtime_enable(dev); | 533 | pm_runtime_enable(dev); |
531 | 534 | ||
532 | platform_set_drvdata(pdev, omap); | 535 | platform_set_drvdata(pdev, omap); |