[PATCH v2 05/10] ASoC: rockchip: spdif: Improve sample rate support
Sebastian Reichel
sebastian.reichel at collabora.com
Tue Feb 3 08:46:27 PST 2026
From: Sugar Zhang <sugar.zhang at rock-chips.com>
The hardware supports all sample rates up to 19.2kHz.
Signed-off-by: Sugar Zhang <sugar.zhang at rock-chips.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.com>
---
sound/soc/rockchip/rockchip_spdif.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/sound/soc/rockchip/rockchip_spdif.c b/sound/soc/rockchip/rockchip_spdif.c
index 1c62fcb0d8d4..55d64fd4c93b 100644
--- a/sound/soc/rockchip/rockchip_spdif.c
+++ b/sound/soc/rockchip/rockchip_spdif.c
@@ -188,11 +188,7 @@ static struct snd_soc_dai_driver rk_spdif_dai = {
.stream_name = "Playback",
.channels_min = 2,
.channels_max = 2,
- .rates = (SNDRV_PCM_RATE_32000 |
- SNDRV_PCM_RATE_44100 |
- SNDRV_PCM_RATE_48000 |
- SNDRV_PCM_RATE_96000 |
- SNDRV_PCM_RATE_192000),
+ .rates = SNDRV_PCM_RATE_8000_192000,
.formats = (SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_S20_3LE |
SNDRV_PCM_FMTBIT_S24_LE),
--
2.51.0
More information about the linux-arm-kernel
mailing list