diff options
author | Alexander Sverdlin <alexander.sverdlin@gmail.com> | 2018-04-28 22:51:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-01 22:55:28 +0200 |
commit | 2d534113be9a2aa532a1ae127a57e83558aed358 (patch) | |
tree | a38f32ecceee1ac8d98a0f2e43b0308a4ff08ea7 /sound/soc/cirrus/snappercl15.c | |
parent | ASoC: mediatek: preallocate pages use platform device (diff) | |
download | linux-2d534113be9a2aa532a1ae127a57e83558aed358.tar.xz linux-2d534113be9a2aa532a1ae127a57e83558aed358.zip |
ASoC: cirrus: i2s: Fix LRCLK configuration
The bit responsible for LRCLK polarity is i2s_tlrs (0), not i2s_trel (2)
(refer to "EP93xx User's Guide").
Previously card drivers which specified SND_SOC_DAIFMT_NB_IF actually got
SND_SOC_DAIFMT_NB_NF, an adaptation is necessary to retain the old
behavior.
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/soc/cirrus/snappercl15.c')
-rw-r--r-- | sound/soc/cirrus/snappercl15.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/cirrus/snappercl15.c b/sound/soc/cirrus/snappercl15.c index 2334ec19e7eb..11ff7b2672b2 100644 --- a/sound/soc/cirrus/snappercl15.c +++ b/sound/soc/cirrus/snappercl15.c @@ -72,7 +72,7 @@ static struct snd_soc_dai_link snappercl15_dai = { .codec_dai_name = "tlv320aic23-hifi", .codec_name = "tlv320aic23-codec.0-001a", .platform_name = "ep93xx-i2s", - .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_IF | + .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS, .ops = &snappercl15_ops, }; |