]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ASoC: Fix comments for disabling amplifier and PGA
authorAxel Lin <axel.lin@gmail.com>
Fri, 9 Dec 2011 10:43:20 +0000 (18:43 +0800)
committerMark 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

index dc087c15597590770b2341d43796d8c7f9a9360e..58fbf0a87b6a2e62a90a8c347bfd172de3b6b836 100644 (file)
@@ -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);
        }