summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Chan <B18700@freescale.com>2014-08-07 18:15:05 +0800
committerPeng Fushi <fushi.peng@freescale.com>2014-08-28 16:57:00 +0800
commitdec81b660c750177ed8907cf0ff12d8e55e2abb2 (patch)
tree161feb5bca115423df459d067ca08932322dadb6
parentf0dcf71f384aeb99f4b2450c79a64bd92387a20b (diff)
ENGR00326120-2 ASoC: wm8962: Correct the bit offset to enable mono speaker output
In mono speaker configuration, the SPKOUT_ENA bit should be WM8962_CLASS_D_CONTROL_1 register bit 6 instead of bit 7. Signed-off-by: Peter Chan <B18700@freescale.com>
-rw-r--r--sound/soc/codecs/wm8962.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 13bcc8781afe..3ae4c9070051 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -2715,7 +2715,7 @@ SND_SOC_DAPM_MIXER("Speaker Mixer", WM8962_MIXER_ENABLES, 1, 0,
spkmixl, ARRAY_SIZE(spkmixl)),
SND_SOC_DAPM_MUX_E("Speaker PGA", WM8962_PWR_MGMT_2, 4, 0, &spkoutl_mux,
out_pga_event, SND_SOC_DAPM_POST_PMU),
-SND_SOC_DAPM_PGA("Speaker Output", WM8962_CLASS_D_CONTROL_1, 7, 0, NULL, 0),
+SND_SOC_DAPM_PGA("Speaker Output", WM8962_CLASS_D_CONTROL_1, 6, 0, NULL, 0),
SND_SOC_DAPM_OUTPUT("SPKOUT"),
};