Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316905
b: refs/heads/master
c: 8194fea
h: refs/heads/master
i:
  316903: 17424bd
v: v3
  • Loading branch information
Fabio Estevam authored and Felipe Balbi committed Jun 12, 2012
1 parent f5f3f29 commit bd5e613
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1c7f6cd3f97b038e875094a8433e239f03d10955
refs/heads/master: 8194fea0fc308a7cdfc9333584d69cb5d428d47f
6 changes: 3 additions & 3 deletions trunk/drivers/usb/gadget/imx_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@ static int __init imx_udc_probe(struct platform_device *pdev)
dev_err(&pdev->dev, "can't get USB clock\n");
goto fail2;
}
clk_enable(clk);
clk_prepare_enable(clk);

if (clk_get_rate(clk) != 48000000) {
D_INI(&pdev->dev,
Expand Down Expand Up @@ -1496,7 +1496,7 @@ static int __init imx_udc_probe(struct platform_device *pdev)
free_irq(imx_usb->usbd_int[i], imx_usb);
fail3:
clk_put(clk);
clk_disable(clk);
clk_disable_unprepare(clk);
fail2:
iounmap(base);
fail1:
Expand All @@ -1521,7 +1521,7 @@ static int __exit imx_udc_remove(struct platform_device *pdev)
free_irq(imx_usb->usbd_int[i], imx_usb);

clk_put(imx_usb->clk);
clk_disable(imx_usb->clk);
clk_disable_unprepare(imx_usb->clk);
iounmap(imx_usb->base);

release_mem_region(imx_usb->res->start, resource_size(imx_usb->res));
Expand Down

0 comments on commit bd5e613

Please sign in to comment.