usb: gadget: at91_udc: prepare clk before calling enable
authorBoris BREZILLON <b.brezillon@overkiz.com>
Tue, 25 Jun 2013 08:12:56 +0000 (10:12 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 15 Jul 2013 09:59:40 +0000 (12:59 +0300)
commit7628083227b6bc4a7e33d7c381d7a4e558424b6b
tree3584ec972343eb8479fb8dbadf346514b2c3f301
parent88ae742347831c47846ca7343e786abd6635752b
usb: gadget: at91_udc: 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/at91_udc.c