usb: gadget: at91_udc: add missing clk_put on fclk and iclk
authorBoris BREZILLON <b.brezillon@overkiz.com>
Fri, 2 Aug 2013 08:37:27 +0000 (10:37 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 2 Aug 2013 12:17:02 +0000 (15:17 +0300)
commit30ce1987160e64f58d92359ee11999e1218a45b9
treed1a5e3ca15ac7cd863a8719bfb0a18ef42611a83
parent93487aa1639d2151820f3988f62005d0a00e9269
usb: gadget: at91_udc: add missing clk_put on fclk and iclk

This patch adds missing clk_put on fclk and iclk in case the probe function
fails after these clocks have been retrieved.

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