]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: sun4i-spdif: Add clock multiplier settings
authorGeorge Lander <lander@jagmn.com>
Mon, 11 Nov 2024 16:55:29 +0000 (17:55 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Dec 2024 14:07:56 +0000 (14:07 +0000)
commit0a2319308de88b9e819c0b43d0fccd857123eb31
tree807fd920e58acd76f3bdde0aee4fab1dc8bc2cc7
parent5757b31666277e2b177b406e48878dc48d587a46
ASoC: sun4i-spdif: Add clock multiplier settings

There have been intermittent issues with the SPDIF output on H3
and H2+ devices which has been fixed by setting the s_clk to 4
times the audio pll.
Add a quirk for the clock multiplier as not every supported SoC
requires it. Without the multiplier, the audio at normal sampling
rates was distorted and did not play at higher sampling rates.

Fixes: 1bd92af877ab ("ASoC: sun4i-spdif: Add support for the H3 SoC")
Signed-off-by: George Lander <lander@jagmn.com>
Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Link: https://patch.msgid.link/20241111165600.57219-2-codekipper@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-spdif.c