]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ti: davinci-mcasp: Fix DIT mode support
authorPeter Ujfalusi <peter.ujfalusi@gmail.com>
Mon, 5 Jul 2021 19:42:45 +0000 (22:42 +0300)
committerMark Brown <broonie@kernel.org>
Sun, 11 Jul 2021 22:46:38 +0000 (23:46 +0100)
commite5ed6138861d2000548a03862ec8f160af836d86
tree1149c339b621157cd97cdaa060c38b5e50f91370
parentafc2a6d5d78255e33eb8a0c86ef1dbc997be46c3
ASoC: ti: davinci-mcasp: Fix DIT mode support

The DIT mode support has not been tested due to lack of platform where it
can be tested.
To be able to use the McASP on OMAP4/5 (only supporting DIT mode) we need
to have DIT mode working in the McASP driver on a know platform.
After hacking around (on BBW, mcasp1.axr1 can be routed out for this) it
appeared that DIT mode is broken.

This patch fixes it up and 16/24 bit audio works along with passthrough,
but I have only tested with DTS example and test files.

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