Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349305
b: refs/heads/master
c: 9270bdf
h: refs/heads/master
i:
  349303: c89adc3
v: v3
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Jan 22, 2013
1 parent c23df39 commit f35f2d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 1f0529b4d80ad02df637be67ed4f82e93b8db32f
refs/heads/master: 9270bdf5405668ca5d75ace1d7872e2762162c47
7 changes: 6 additions & 1 deletion trunk/drivers/mfd/arizona-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,12 @@ static int arizona_runtime_resume(struct device *dev)
return ret;
}

regcache_sync(arizona->regmap);
ret = regcache_sync(arizona->regmap);
if (ret != 0) {
dev_err(arizona->dev, "Failed to restore register cache\n");
regulator_disable(arizona->dcvdd);
return ret;
}

return 0;
}
Expand Down

0 comments on commit f35f2d6

Please sign in to comment.