Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319789
b: refs/heads/master
c: 508c829
h: refs/heads/master
i:
  319787: 610e3ab
v: v3
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Jul 24, 2012
1 parent 72b856a commit 8090edc
Show file tree
Hide file tree
Showing 2 changed files with 5 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: b7e537861a422f6dd283c5e6c9f56ae820f1b994
refs/heads/master: 508c829994446fcb5d93cbc910bb45378ab28050
4 changes: 4 additions & 0 deletions trunk/drivers/mfd/arizona-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ static int arizona_runtime_resume(struct device *dev)
struct arizona *arizona = dev_get_drvdata(dev);
int ret;

dev_dbg(arizona->dev, "Leaving AoD mode\n");

ret = regulator_enable(arizona->dcvdd);
if (ret != 0) {
dev_err(arizona->dev, "Failed to enable DCVDD: %d\n", ret);
Expand All @@ -246,6 +248,8 @@ static int arizona_runtime_suspend(struct device *dev)
{
struct arizona *arizona = dev_get_drvdata(dev);

dev_dbg(arizona->dev, "Entering AoD mode\n");

regulator_disable(arizona->dcvdd);
regcache_cache_only(arizona->regmap, true);
regcache_mark_dirty(arizona->regmap);
Expand Down

0 comments on commit 8090edc

Please sign in to comment.