]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: ti: davinci-mcasp: Disambiguate mcasp_is_synchronous function
authorSen Wang <sen@ti.com>
Tue, 3 Feb 2026 00:37:01 +0000 (18:37 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 4 Feb 2026 18:21:50 +0000 (18:21 +0000)
commite683cb088fdcbdc86fc30008319312cc0bb80226
treead7270fdc0e6b8511175916d97e5e678e8113e1c
parentf1ef70a4a32042984d29b8d02bdf6167474373af
ASoC: ti: davinci-mcasp: Disambiguate mcasp_is_synchronous function

The current mcasp_is_synchronous() function does more than what it
proclaims, it also checks if McASP is a frame producer.

Therefore split the original function into two separate ones and
replace all occurrences with the new equivalent logic.

Signed-off-by: Sen Wang <sen@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Tested-by: Paresh Bhagat <p-bhagat@ti.com>
Link: https://patch.msgid.link/20260203003703.2334443-3-sen@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/davinci-mcasp.c