Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365811
b: refs/heads/master
c: 1a3224f
h: refs/heads/master
i:
  365809: c02599f
  365807: 4362cf4
v: v3
  • Loading branch information
Thomas Abraham authored and Linus Torvalds committed Apr 30, 2013
1 parent c24c2ed commit 9a80afa
Show file tree
Hide file tree
Showing 2 changed files with 4 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: e005715efaf674660ae59af83b13822567e3a758
refs/heads/master: 1a3224f141365baab8861d0852ac134bd1d6877b
5 changes: 3 additions & 2 deletions trunk/drivers/rtc/rtc-s3c.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ static int s3c_rtc_remove(struct platform_device *dev)

s3c_rtc_setaie(&dev->dev, 0);

clk_unprepare(rtc_clk);
rtc_clk = NULL;

return 0;
Expand Down Expand Up @@ -494,7 +495,7 @@ static int s3c_rtc_probe(struct platform_device *pdev)
return ret;
}

clk_enable(rtc_clk);
clk_prepare_enable(rtc_clk);

/* check to see if everything is setup correctly */

Expand Down Expand Up @@ -573,7 +574,7 @@ static int s3c_rtc_probe(struct platform_device *pdev)

err_nortc:
s3c_rtc_enable(pdev, 0);
clk_disable(rtc_clk);
clk_disable_unprepare(rtc_clk);

return ret;
}
Expand Down

0 comments on commit 9a80afa

Please sign in to comment.