From: Uk Kim Date: Sun, 5 Dec 2010 08:26:07 +0000 (+0900) Subject: ASoC: Fix swap of left and right channels for WM8993/4 speaker boost gain X-Git-Tag: v2.6.36.3~127 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=42ab05297f022aa26da5e1c41bf5497ce355b0eb;p=karo-tx-linux.git 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c index 2cb81538cd91..47cd284f6780 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),