Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248862
b: refs/heads/master
c: 004c127
h: refs/heads/master
v: v3
  • Loading branch information
Jingoo Han authored and Greg Kroah-Hartman committed May 13, 2011
1 parent 2f2ce3b commit f49dedb
Show file tree
Hide file tree
Showing 2 changed files with 3 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: a0885924326f79e157847010a9aaf49b058b30dc
refs/heads/master: 004c127ef071e33df99708c2778fdb15564962ce
4 changes: 2 additions & 2 deletions trunk/drivers/usb/gadget/s3c-hsudc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1299,9 +1299,9 @@ static int s3c_hsudc_probe(struct platform_device *pdev)
s3c_hsudc_setup_ep(hsudc);

hsudc->uclk = clk_get(&pdev->dev, "usb-device");
if (hsudc->uclk == NULL) {
if (IS_ERR(hsudc->uclk)) {
dev_err(dev, "failed to find usb-device clock source\n");
return -ENOENT;
return PTR_ERR(hsudc->uclk);
}
clk_enable(hsudc->uclk);

Expand Down

0 comments on commit f49dedb

Please sign in to comment.