diff options
| author | Sen Wang <sen@ti.com> | 2026-02-03 03:37:02 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-02-04 21:21:51 +0300 |
| commit | 016efcaa470cdbc658df46d968d875f6a1cf9a78 (patch) | |
| tree | 622fada7bd0a026c2800233438a0a64a89760697 /include/linux/platform_data | |
| parent | e683cb088fdcbdc86fc30008319312cc0bb80226 (diff) | |
| download | linux-016efcaa470cdbc658df46d968d875f6a1cf9a78.tar.xz | |
ASoC: ti: davinci-mcasp: Streamline pdir behavior across rx & tx streams
Simplify the mcasp_set_clk_pdir caller convention in start/stop stream
function, to make it so that set_clk_pdir gets called regardless when
stream starts and also disables when stream ends.
Functionality-wise, everything remains the same as the previously skipped
calls are now either correctly configured
(when McASP is SND_SOC_DAIFMT_BP_FC - pdir needs to be enabled)
or called with a bitmask of zero (when McASP is SND_SOC_DAIFMT_BC_FC - pdir
gets disabled).
On brief regarding McASP Clock and Frame sync configurations, refer to [0].
[0]:TRM Section 12.1.1.4.2 https://www.ti.com/lit/ug/sprujd4a/sprujd4a.pdf
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-4-sen@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
