aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand Gadiyar <gadiyar@ti.com>2010-11-21 12:53:41 -0500
committerAnand Gadiyar <gadiyar@ti.com>2010-11-30 16:04:39 -0500
commitc5dff5545c97ab33bdb2a529a2375966ceb0700c (patch)
tree431f94a0bde3fc094a949c4998f54a76dafe849c
parent5467e16d891090d54d036044e66f94b89b1c3683 (diff)
usb: ehci-omap: use clkdev aliases for functional clocks
Use the recently updated aliases to get functional clocks needed by the driver. This allows the driver to acquire OMAP4-specific clocks without having to use different clock names for OMAP3 and OMAP4. Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
-rw-r--r--drivers/usb/host/ehci-omap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c
index d60efdc9b142..7a4682c4ff67 100644
--- a/drivers/usb/host/ehci-omap.c
+++ b/drivers/usb/host/ehci-omap.c
@@ -287,14 +287,14 @@ static int omap_start_ehc(struct ehci_hcd_omap *omap, struct usb_hcd *hcd)
287 } 287 }
288 clk_enable(omap->usbhost_ick); 288 clk_enable(omap->usbhost_ick);
289 289
290 omap->usbhost_hs_fck = clk_get(omap->dev, "usbhost_120m_fck"); 290 omap->usbhost_hs_fck = clk_get(omap->dev, "hs_fck");
291 if (IS_ERR(omap->usbhost_hs_fck)) { 291 if (IS_ERR(omap->usbhost_hs_fck)) {
292 ret = PTR_ERR(omap->usbhost_hs_fck); 292 ret = PTR_ERR(omap->usbhost_hs_fck);
293 goto err_host_120m_fck; 293 goto err_host_120m_fck;
294 } 294 }
295 clk_enable(omap->usbhost_hs_fck); 295 clk_enable(omap->usbhost_hs_fck);
296 296
297 omap->usbhost_fs_fck = clk_get(omap->dev, "usbhost_48m_fck"); 297 omap->usbhost_fs_fck = clk_get(omap->dev, "fs_fck");
298 if (IS_ERR(omap->usbhost_fs_fck)) { 298 if (IS_ERR(omap->usbhost_fs_fck)) {
299 ret = PTR_ERR(omap->usbhost_fs_fck); 299 ret = PTR_ERR(omap->usbhost_fs_fck);
300 goto err_host_48m_fck; 300 goto err_host_48m_fck;