]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: atmel_ssc_dai: rework DAI format configuration
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sat, 24 Aug 2019 20:26:53 +0000 (22:26 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 27 Aug 2019 19:40:43 +0000 (20:40 +0100)
commit13d831ddd5d517779da14b80906903b99ec20c2b
treea4b7f564ac00ba36aea62338cd759847cf71104a
parentba92462c1331c2f74388e14f49d5578a89201abf
ASoC: atmel_ssc_dai: rework DAI format configuration

Rework DAI format calculation in preparation for adding more formats
later. As a side-effect this enables all CBM/CBS x CFM/CFS combinations
for supported formats. (Note: the additional modes are not tested.)

Note: this changes FSEDGE to POSITIVE for I2S CBM_CFS mode as the TXSYN
interrupt is not used anyway.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Link: https://lore.kernel.org/r/f5949b0326fdcdca072f3ed03f77de9e207631cd.1566677788.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/atmel_ssc_dai.c