summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlibek Omarov <a1ba.omarov@gmail.com>2024-06-04 21:47:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-05 09:33:44 +0200
commit4932ddb9fd3f05878ec9559dffe85d1c4b94b085 (patch)
tree2a869fc285c23df9775915fc88725d93665034a1 /include
parent00da1ddd69368cb27993722fe6c4ac9446154da4 (diff)
ASoC: rockchip: i2s-tdm: Fix trcm mode by setting clock on right mclk
[ Upstream commit ccd8d753f0fe8f16745fa2b6be5946349731d901 ] When TRCM mode is enabled, I2S RX and TX clocks are synchronized through selected clock source. Without this fix BCLK and LRCK might get parented to an uninitialized MCLK and the DAI will receive data at wrong pace. However, unlike in original i2s-tdm driver, there is no need to manually synchronize mclk_rx and mclk_tx, as only one gets used anyway. Tested on a board with RK3568 SoC and Silergy SY24145S codec with enabled and disabled TRCM mode. Fixes: 9e2ab4b18ebd ("ASoC: rockchip: i2s-tdm: Fix inaccurate sampling rates") Signed-off-by: Alibek Omarov <a1ba.omarov@gmail.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://msgid.link/r/20240604184752.697313-1-a1ba.omarov@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions