Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283912
b: refs/heads/master
c: 7fcadfd
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Dec 9, 2011
1 parent 930f121 commit 60e2293
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 46ce904f7d4788ebc2ca7894fb56b9aa5b84af2d
refs/heads/master: 7fcadfd17699b6b7973ce4f99eae47a11b4c44a7
4 changes: 2 additions & 2 deletions trunk/sound/soc/codecs/wm8961.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,11 @@ static int wm8961_spk_event(struct snd_soc_dapm_widget *w,
}

if (event & SND_SOC_DAPM_PRE_PMD) {
/* Enable the amplifier */
/* Disable the amplifier */
spk_reg &= ~(WM8961_SPKL_ENA | WM8961_SPKR_ENA);
snd_soc_write(codec, WM8961_CLASS_D_CONTROL_1, spk_reg);

/* Enable the PGA */
/* Disable the PGA */
pwr_reg &= ~(WM8961_SPKL_PGA | WM8961_SPKR_PGA);
snd_soc_write(codec, WM8961_PWR_MGMT_2, pwr_reg);
}
Expand Down

0 comments on commit 60e2293

Please sign in to comment.