ASoC: cirrus: i2s: Fix LRCLK configuration

commit 2d534113be upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Alexander Sverdlin 2018-04-28 22:51:38 +02:00 • committed by Ben Hutchings
commit 4f789644f0
3 changed files with 6 additions and 6 deletions