ASoC: cirrus: i2s: Fix LRCLK configuration
authorAlexander Sverdlin <alexander.sverdlin@gmail.com>
Sat, 28 Apr 2018 20:51:38 +0000 (22:51 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 1 May 2018 20:55:28 +0000 (05:55 +0900)
commit2d534113be9a2aa532a1ae127a57e83558aed358
treea38f32ecceee1ac8d98a0f2e43b0308a4ff08ea7
parent5845e6155d8f4a4a9bae2d4c1d1bb4a4d9a925c2
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
sound/soc/cirrus/edb93xx.c
sound/soc/cirrus/ep93xx-i2s.c
sound/soc/cirrus/snappercl15.c