usb: gadget: atmel_usba: prepare clk before calling enable
authorBoris BREZILLON <b.brezillon@overkiz.com>
Thu, 18 Jul 2013 07:43:08 +0000 (09:43 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:58:13 +0000 (13:58 +0300)
commit0d98b9d6429c21132fa08c452e62127fd5032b55
tree74fd9c46b2f59b6c494ed80beeec7536ce1b8a5e
parent925403f425a4a9c503f2fc295652647b1eb10d82
usb: gadget: atmel_usba: prepare clk before calling enable

Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/atmel_usba_udc.c