projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46ce904
)
ASoC: Fix comments for disabling amplifier and PGA
author
Axel Lin
<axel.lin@gmail.com>
Fri, 9 Dec 2011 10:43:20 +0000
(18:43 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 9 Dec 2011 12:28:28 +0000
(20:28 +0800)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8961.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/wm8961.c
b/sound/soc/codecs/wm8961.c
index dc087c15597590770b2341d43796d8c7f9a9360e..58fbf0a87b6a2e62a90a8c347bfd172de3b6b836 100644
(file)
--- a/
sound/soc/codecs/wm8961.c
+++ b/
sound/soc/codecs/wm8961.c
@@
-422,11
+422,11
@@
static int wm8961_spk_event(struct snd_soc_dapm_widget *w,
}
if (event & SND_SOC_DAPM_PRE_PMD) {
- /*
En
able the amplifier */
+ /*
Dis
able the amplifier */
spk_reg &= ~(WM8961_SPKL_ENA | WM8961_SPKR_ENA);
snd_soc_write(codec, WM8961_CLASS_D_CONTROL_1, spk_reg);
- /*
En
able the PGA */
+ /*
Dis
able the PGA */
pwr_reg &= ~(WM8961_SPKL_PGA | WM8961_SPKR_PGA);
snd_soc_write(codec, WM8961_PWR_MGMT_2, pwr_reg);
}