linux_dsm_epyc7002/sound/soc/ti
Peter Ujfalusi 2448c813b1
ASoC: ti: davinci-mcasp: Support for correct symmetric sample bits
Implement custom snd_pcm_hw_rule to filter the available formats for the
second stream to make it symmetric and allow only formats which require
the same amount of bits on the bus as the running stream.

A simple constraint is not working correctly because for example:
the first stream is started with S24_LE

If we place 24 as constraint for the SAMPLE_BITS then the second stream
can not use S24_LE as it is physically 32bits.

If we would place 32 as constraint (physical width) then S32_LE would have
been allowed, but S24_3LE is not.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20190726064244.3762-3-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-07-26 13:10:54 +01:00
..
ams-delta.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
davinci-evm.c ASoC: ti: davinci-evm: consider CPU-Platform possibility 2019-06-28 15:18:55 +01:00
davinci-i2s.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
davinci-i2s.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
davinci-mcasp.c ASoC: ti: davinci-mcasp: Support for correct symmetric sample bits 2019-07-26 13:10:54 +01:00
davinci-mcasp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
davinci-vcif.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
edma-pcm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
edma-pcm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile ASoC: ti: Merge davinci and omap directories 2018-12-18 12:22:43 +00:00
n810.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
omap3pandora.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
omap-abe-twl6040.c ASoC: ti: omap-abe-twl6040: consider CPU-Platform possibility 2019-06-28 15:19:05 +01:00
omap-dmic.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
omap-dmic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
omap-hdmi.c ASoC: ti: omap-hdmi: consider CPU-Platform possibility 2019-06-28 15:19:15 +01:00
omap-mcbsp-priv.h ASoC: ti: Merge davinci and omap directories 2018-12-18 12:22:43 +00:00
omap-mcbsp-st.c ASoC: ti: Merge davinci and omap directories 2018-12-18 12:22:43 +00:00
omap-mcbsp.c Merge branch 'asoc-5.2' into asoc-linus 2019-07-06 12:25:24 +01:00
omap-mcbsp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
omap-mcpdm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
omap-mcpdm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 336 2019-06-05 17:37:07 +02:00
omap-twl4030.c ASoC: ti: omap-twl4030: consider CPU-Platform possibility 2019-06-28 15:19:35 +01:00
osk5912.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
rx51.c ASoC: ti: rx51: consider CPU-Platform possibility 2019-06-28 15:19:45 +01:00
sdma-pcm.c ASoC: ti: remove compat dma probing 2019-03-11 16:33:43 +00:00
sdma-pcm.h ASoC: ti: Merge davinci and omap directories 2018-12-18 12:22:43 +00:00