summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5640.c
diff options
context:
space:
mode:
authorSugar Zhang <sugar.zhang@rock-chips.com>2016-03-18 07:54:22 +0100
committerMark Brown <broonie@kernel.org>2016-03-18 11:00:25 +0100
commit653aa4645244042826f105aab1be3d01b3d493ca (patch)
tree352b614df6aed32039db26fe406c22a3575ad498 /sound/soc/codecs/rt5640.c
parentMerge remote-tracking branches 'asoc/topic/sunxi', 'asoc/topic/topology' and ... (diff)
downloadlinux-653aa4645244042826f105aab1be3d01b3d493ca.tar.xz
linux-653aa4645244042826f105aab1be3d01b3d493ca.zip
ASoC: rt5640: Correct the digital interface data select
this patch corrects the interface adc/dac control register definition according to datasheet. Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/soc/codecs/rt5640.c')
-rw-r--r--sound/soc/codecs/rt5640.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index e8b5ba04417a..09e8988bbb2d 100644
--- a/sound/soc/codecs/rt5640.c
+++ b/sound/soc/codecs/rt5640.c
@@ -359,7 +359,7 @@ static const DECLARE_TLV_DB_RANGE(bst_tlv,
/* Interface data select */
static const char * const rt5640_data_select[] = {
- "Normal", "left copy to right", "right copy to left", "Swap"};
+ "Normal", "Swap", "left copy to right", "right copy to left"};
static SOC_ENUM_SINGLE_DECL(rt5640_if1_dac_enum, RT5640_DIG_INF_DATA,
RT5640_IF1_DAC_SEL_SFT, rt5640_data_select);