Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346446
b: refs/heads/master
c: 18c701a
h: refs/heads/master
v: v3
  • Loading branch information
Kim, Milo authored and Linus Torvalds committed Dec 18, 2012
1 parent 5106b98 commit 483c7f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 162a96ea4bc77ad8d553ea5de6300b6ed70d13e1
refs/heads/master: 18c701a9dbe91768e1629f1aece9d50543b3abfa
7 changes: 7 additions & 0 deletions trunk/drivers/rtc/rtc-tps65910.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,13 @@ static int __devinit tps65910_rtc_probe(struct platform_device *pdev)
return ret;

dev_dbg(&pdev->dev, "Enabling rtc-tps65910.\n");

/* Enable RTC digital power domain */
ret = regmap_update_bits(tps65910->regmap, TPS65910_DEVCTRL,
DEVCTRL_RTC_PWDN_MASK, 0 << DEVCTRL_RTC_PWDN_SHIFT);
if (ret < 0)
return ret;

rtc_reg = TPS65910_RTC_CTRL_STOP_RTC;
ret = regmap_write(tps65910->regmap, TPS65910_RTC_CTRL, rtc_reg);
if (ret < 0)
Expand Down

0 comments on commit 483c7f4

Please sign in to comment.