Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273572
b: refs/heads/master
c: 4f4488a
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Nov 1, 2011
1 parent 7ec9bc1 commit 1014107
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 64964e82644e9f809dc83019186c21ed5b70aa56
refs/heads/master: 4f4488abc97c1c27ff029f887944e6a6da1f5733
8 changes: 7 additions & 1 deletion trunk/sound/soc/codecs/wm8962.c
Original file line number Diff line number Diff line change
Expand Up @@ -1961,7 +1961,13 @@ static int wm8962_readable_register(struct snd_soc_codec *codec, unsigned int re

static int wm8962_reset(struct snd_soc_codec *codec)
{
return snd_soc_write(codec, WM8962_SOFTWARE_RESET, 0x6243);
int ret;

ret = snd_soc_write(codec, WM8962_SOFTWARE_RESET, 0x6243);
if (ret != 0)
return ret;

return snd_soc_write(codec, WM8962_PLL_SOFTWARE_RESET, 0);
}

static const DECLARE_TLV_DB_SCALE(inpga_tlv, -2325, 75, 0);
Expand Down

0 comments on commit 1014107

Please sign in to comment.