]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ti: davinci-mcasp: Improve serializer handling in multi AXR setups
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 25 Jul 2019 08:34:32 +0000 (11:34 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 25 Jul 2019 12:58:34 +0000 (13:58 +0100)
commit03d40071929e6d4668e38d6d65d9c36c07f0340b
tree3a4d83f04b2782cf000bf960fa24aede34d242eb
parent03d483d6485aeca8350702edcae8f3293688f597
ASoC: ti: davinci-mcasp: Improve serializer handling in multi AXR setups

When multiple serializers are used we need to track the number of
serializers used by the other stream direction to avoid killing data lines
when the first stream used more serializers than the second would need.
We are still protected against the case when the second stream uses more
serializers which had affected the running stream as well.

To take advantage of the improved serializer logic we need to modify the
channel constraints rule as well to allow the use of multiple serializers
for the second stream as additional ones will not affect the FS/BCLK on
the bus.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20190725083432.7419-1-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/davinci-mcasp.c