summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt5640.c
diff options
context:
space:
mode:
authorSugar Zhang <sugar.zhang@rock-chips.com>2016-03-18 09:54:22 +0300
committerMark Brown <broonie@kernel.org>2016-03-18 13:00:25 +0300
commit653aa4645244042826f105aab1be3d01b3d493ca (patch)
tree352b614df6aed32039db26fe406c22a3575ad498 /sound/soc/codecs/rt5640.c
parentd4a6360f19c1c551afcba42be98df04651fab31b (diff)
downloadlinux-653aa4645244042826f105aab1be3d01b3d493ca.tar.xz
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);