usb: imx_udc.c: Use clk_prepare_enable/clk_disable_unprepare
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 25 May 2012 23:14:54 +0000 (20:14 -0300)
committerFelipe Balbi <balbi@ti.com>
Tue, 12 Jun 2012 10:30:59 +0000 (13:30 +0300)
commit8194fea0fc308a7cdfc9333584d69cb5d428d47f
tree7d892cb0e714eb2a2d4768af02f255cadf19f354
parent1c7f6cd3f97b038e875094a8433e239f03d10955
usb: imx_udc.c: Use clk_prepare_enable/clk_disable_unprepare

Prepare the clock before enabling it.

Cc: <linux-usb@vger.kernel.org>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/imx_udc.c