Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257916
b: refs/heads/master
c: 2725ae1
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Herbert Xu committed Jun 29, 2011
1 parent 735e83c commit 6e977c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 6ba1a31ef146f25a457968c00c8c10bbe1a3ccfe
refs/heads/master: 2725ae17591bf771608fe62c54f7b2badcf7492f
3 changes: 2 additions & 1 deletion trunk/drivers/char/hw_random/nomadik-rng.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static int nmk_rng_probe(struct amba_device *dev, const struct amba_id *id)

ret = amba_request_regions(dev, dev->dev.init_name);
if (ret)
return ret;
goto out_clk;
ret = -ENOMEM;
base = ioremap(dev->res.start, resource_size(&dev->res));
if (!base)
Expand All @@ -70,6 +70,7 @@ static int nmk_rng_probe(struct amba_device *dev, const struct amba_id *id)
iounmap(base);
out_release:
amba_release_regions(dev);
out_clk:
clk_disable(rng_clk);
clk_put(rng_clk);
return ret;
Expand Down

0 comments on commit 6e977c8

Please sign in to comment.