Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253303
b: refs/heads/master
c: 6bc1295
h: refs/heads/master
i:
  253301: bf789f6
  253299: b5d3d63
  253295: 1095c3d
v: v3
  • Loading branch information
Sebastian Andrzej Siewior authored and Greg Kroah-Hartman committed Jun 6, 2011
1 parent eba0b50 commit 80f15ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: a6207b17ece4ea40c378233b1ddf2a7f4288419d
refs/heads/master: 6bc129532176fcafb4202b73b3f431986391a362
6 changes: 4 additions & 2 deletions trunk/drivers/usb/gadget/s3c-hsudc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,8 @@ static int s3c_hsudc_probe(struct platform_device *pdev)
hsudc->uclk = clk_get(&pdev->dev, "usb-device");
if (IS_ERR(hsudc->uclk)) {
dev_err(dev, "failed to find usb-device clock source\n");
return PTR_ERR(hsudc->uclk);
ret = PTR_ERR(hsudc->uclk);
goto err_clk;
}
clk_enable(hsudc->uclk);

Expand All @@ -1311,7 +1312,8 @@ static int s3c_hsudc_probe(struct platform_device *pdev)
disable_irq(hsudc->irq);
local_irq_enable();
return 0;

err_clk:
free_irq(hsudc->irq, hsudc);
err_irq:
iounmap(hsudc->regs);

Expand Down

0 comments on commit 80f15ef

Please sign in to comment.