summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorUk Kim <w0806.kim@samsung.com>2010-12-05 17:26:07 +0900
committerAK <andi@firstfloor.org>2011-02-06 11:03:28 -0800
commit4aaf959ea379034a6b010be9c3acc88a14f97642 (patch)
treeef94aa845561f64f3e311e1f02946f42fcaa729d /sound/soc
parente4e576308d04c71d1f68e8896daeb5f49afd7ff2 (diff)
ASoC: Fix swap of left and right channels for WM8993/4 speaker boost gain
commit ed8cc471d75365f8590c76f580def899d58028c0 upstream. SPKOUTL_BOOST start from third bit, SPKOUTLR_BOOST start from 0 bit. Signed-off-by: Uk Kim <w0806.kim@samsung.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/wm_hubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c
index 16f1a57da08a..20ffd28abcd9 100644
--- a/sound/soc/codecs/wm_hubs.c
+++ b/sound/soc/codecs/wm_hubs.c
@@ -293,7 +293,7 @@ SOC_DOUBLE_R("Speaker Switch",
SOC_DOUBLE_R("Speaker ZC Switch",
WM8993_SPEAKER_VOLUME_LEFT, WM8993_SPEAKER_VOLUME_RIGHT,
7, 1, 0),
-SOC_DOUBLE_TLV("Speaker Boost Volume", WM8993_SPKOUT_BOOST, 0, 3, 7, 0,
+SOC_DOUBLE_TLV("Speaker Boost Volume", WM8993_SPKOUT_BOOST, 3, 0, 7, 0,
spkboost_tlv),
SOC_ENUM("Speaker Reference", speaker_ref),
SOC_ENUM("Speaker Mode", speaker_mode),