]> Pileus Git - ~andy/linux/commit
usb: host: ehci-mv: fix clk APIs
authorChao Xie <chao.xie@marvell.com>
Wed, 28 Nov 2012 03:06:05 +0000 (22:06 -0500)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Dec 2012 09:58:41 +0000 (11:58 +0200)
commitc1a96ebd315f82fa0f47adce264adb126cf72764
tree467c4b41ffd168c083ba5f77e12ea07da47a2510
parente887786a466f36720fde5d4a1bc3c7dacd400bd1
usb: host: ehci-mv: fix clk APIs

the clock common driver changes, and arch-mmp will make use of
the common clock driver instead of its own.
So for enable clock.
first prepare the clock
then enable the clock.

for disable clock
first disable the clock
then unprepare the clock

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/host/ehci-mv.c