Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332758
b: refs/heads/master
c: ea73fe7
h: refs/heads/master
v: v3
  • Loading branch information
m-karicheri2@ti.com authored and David Woodhouse committed Sep 29, 2012
1 parent 57760e2 commit 2b919a1
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: 6ed089c0a1bc6f371dbcf97fb4e8218deaa0ae17
refs/heads/master: ea73fe7f0d562154975a77fe77ae3da6ab4d3e77
6 changes: 3 additions & 3 deletions trunk/drivers/mtd/nand/davinci_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ static int __init nand_davinci_probe(struct platform_device *pdev)
goto err_clk;
}

ret = clk_enable(info->clk);
ret = clk_prepare_enable(info->clk);
if (ret < 0) {
dev_dbg(&pdev->dev, "unable to enable AEMIF clock, err %d\n",
ret);
Expand Down Expand Up @@ -835,7 +835,7 @@ static int __init nand_davinci_probe(struct platform_device *pdev)

err_scan:
err_timing:
clk_disable(info->clk);
clk_disable_unprepare(info->clk);

err_clk_enable:
clk_put(info->clk);
Expand Down Expand Up @@ -872,7 +872,7 @@ static int __exit nand_davinci_remove(struct platform_device *pdev)

nand_release(&info->mtd);

clk_disable(info->clk);
clk_disable_unprepare(info->clk);
clk_put(info->clk);

kfree(info);
Expand Down

0 comments on commit 2b919a1

Please sign in to comment.