]> git.karo-electronics.de Git - linux-beck.git/commit
usb: otg: mv_otg: fix the clk APIs
authorChao Xie <chao.xie@marvell.com>
Wed, 28 Nov 2012 03:06:04 +0000 (22:06 -0500)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Dec 2012 09:58:45 +0000 (11:58 +0200)
commite3f1dbd21ddfaa22649b93212d5ac4b052c1e4a7
tree8f33c8429f2860818dbcfaa785fd44ae8c629513
parente0b64ce6fe0a9d4ce8cf97fea7fe5ec7125dea30
usb: otg: mv_otg: fix the 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>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/otg/mv_otg.c