usb: gadget: mv_udc: fix the clk APIs
authorChao Xie <chao.xie@marvell.com>
Wed, 28 Nov 2012 03:06:02 +0000 (22:06 -0500)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Dec 2012 09:58:41 +0000 (11:58 +0200)
commite887786a466f36720fde5d4a1bc3c7dacd400bd1
treed366fccaf8b49b6eb5229684d652baa628c1ce6a
parentb33d74db39aae32e7d57265e25c94a488c42e37b
usb: gadget: mv_udc: 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/gadget/mv_udc_core.c
This page took 0.024332 seconds and 5 git commands to generate.