Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346437
b: refs/heads/master
c: 93d7839
h: refs/heads/master
i:
  346435: 707524d
v: v3
  • Loading branch information
Deepak Sikri authored and Linus Torvalds committed Dec 18, 2012
1 parent 14d1105 commit 0824567
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: bdaa2c63b060ae082ab4f20378c1a6307b59b8db
refs/heads/master: 93d78394ac5ec72315e7f9a7193c6649d817a9eb
6 changes: 3 additions & 3 deletions trunk/drivers/rtc/rtc-spear.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ static int __devinit spear_rtc_probe(struct platform_device *pdev)
if (IS_ERR(config->clk))
return PTR_ERR(config->clk);

status = clk_enable(config->clk);
status = clk_prepare_enable(config->clk);
if (status < 0)
return status;

Expand All @@ -418,7 +418,7 @@ static int __devinit spear_rtc_probe(struct platform_device *pdev)

err_disable_clock:
platform_set_drvdata(pdev, NULL);
clk_disable(config->clk);
clk_disable_unprepare(config->clk);

return status;
}
Expand All @@ -429,7 +429,7 @@ static int __devexit spear_rtc_remove(struct platform_device *pdev)

rtc_device_unregister(config->rtc);
spear_rtc_disable_interrupt(config);
clk_disable(config->clk);
clk_disable_unprepare(config->clk);
device_init_wakeup(&pdev->dev, 0);

return 0;
Expand Down

0 comments on commit 0824567

Please sign in to comment.