sst-linux/sound/soc/sunxi
George Lander 2a0dedfc10 ASoC: sun4i-spdif: Add clock multiplier settings
[ Upstream commit 0a2319308de88b9e819c0b43d0fccd857123eb31 ]

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: 1bd92af877 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-21 13:49:07 +01:00
..
Kconfig
Makefile
sun4i-codec.c
sun4i-i2s.c
sun4i-spdif.c
sun8i-adda-pr-regmap.c
sun8i-adda-pr-regmap.h
sun8i-codec-analog.c
sun8i-codec.c
sun50i-codec-analog.c
sun50i-dmic.c