Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308235
b: refs/heads/master
c: 4ec8c7f
h: refs/heads/master
i:
  308233: 7984e9a
  308231: 4288726
v: v3
  • Loading branch information
Sascha Hauer committed Apr 25, 2012
1 parent 5f43e1f commit 0de7738
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: 4fa030a43ddb0d8fe3f2530d6162c11a3b3d31de
refs/heads/master: 4ec8c7f52654cdbb13770d04dc76f9a4615cd4e1
6 changes: 3 additions & 3 deletions trunk/drivers/rtc/rtc-imxdi.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ static int dryice_rtc_probe(struct platform_device *pdev)
imxdi->clk = clk_get(&pdev->dev, NULL);
if (IS_ERR(imxdi->clk))
return PTR_ERR(imxdi->clk);
clk_enable(imxdi->clk);
clk_prepare_enable(imxdi->clk);

/*
* Initialize dryice hardware
Expand Down Expand Up @@ -470,7 +470,7 @@ static int dryice_rtc_probe(struct platform_device *pdev)
return 0;

err:
clk_disable(imxdi->clk);
clk_disable_unprepare(imxdi->clk);
clk_put(imxdi->clk);

return rc;
Expand All @@ -487,7 +487,7 @@ static int __devexit dryice_rtc_remove(struct platform_device *pdev)

rtc_device_unregister(imxdi->rtc);

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

return 0;
Expand Down

0 comments on commit 0de7738

Please sign in to comment.