ARM: OMAP: USBHOST: Replace usbhs core driver APIs by Runtime pm APIs
authorKeshava Munegowda <Keshava_mgowda@ti.com>
Tue, 11 Oct 2011 07:52:11 +0000 (13:22 +0530)
committerPaul Walmsley <paul@pwsan.com>
Fri, 16 Dec 2011 11:29:57 +0000 (04:29 -0700)
commit6c984b066d84bb6e8f5a739ffb1dc4858df017a3
treefd4212e8822cb1970326ffe4189e4e665eda5e5e
parenta6d3a6622ee459eb44952246214d658b474ea8eb
ARM: OMAP: USBHOST: Replace usbhs core driver APIs by Runtime pm APIs

The ehci and ohci drivers does not use the APIs of the usbhs
core driver; the runtime pm APIs are used for clock
enable/disable. Since usbhs is parent platform device of the
ehci and ohci devices, the runtime apis indirectly uses the
usb hs core device as input parameter to for clock functions.

Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Reviewed-by: Partha Basak <parthab@india.ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/plat-omap/include/plat/usb.h
drivers/usb/host/ehci-omap.c
drivers/usb/host/ohci-omap3.c