]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:41:58 +0000 (13:41 +0200)
commitbbee8d38b9cf50e91a0dc7658fc8a8dc2d76d4ec
treea90ce4aad0de0ff10730bc5c2477f1f281774fa2
parentf12750b32f6346b144dd4fe880a0bbc41c067a4a
ASoC: ti: davinci-mcasp: Fix DIT mode support

[ Upstream commit bbdd3f4dbe81e19b9123bc54e23ed54517615524 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/ti/davinci-mcasp.c