Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305556
b: refs/heads/master
c: ab92d09
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Apr 1, 2012
1 parent d9d85ee commit 7cecaee
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 497098beffaa898ea9fa0076e626f055ef5c832e
refs/heads/master: ab92d09d1306c738b751b839d81e867af1039d14
8 changes: 5 additions & 3 deletions trunk/sound/soc/codecs/cs4270.c
Original file line number Diff line number Diff line change
Expand Up @@ -600,10 +600,12 @@ static int cs4270_soc_suspend(struct snd_soc_codec *codec)
static int cs4270_soc_resume(struct snd_soc_codec *codec)
{
struct cs4270_private *cs4270 = snd_soc_codec_get_drvdata(codec);
int reg;
int reg, ret;

regulator_bulk_enable(ARRAY_SIZE(cs4270->supplies),
cs4270->supplies);
ret = regulator_bulk_enable(ARRAY_SIZE(cs4270->supplies),
cs4270->supplies);
if (ret != 0)
return ret;

/* In case the device was put to hard reset during sleep, we need to
* wait 500ns here before any I2C communication. */
Expand Down

0 comments on commit 7cecaee

Please sign in to comment.