]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: rockchip: spdif: Add support for format S32_LE
authorSugar Zhang <sugar.zhang@rock-chips.com>
Tue, 3 Feb 2026 16:46:30 +0000 (17:46 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 5 Feb 2026 18:46:47 +0000 (18:46 +0000)
commitc43ec509019842c0b836e858dc486c216b51b087
tree43d148dd24d57d8012cf1b9674385d76b65b0158
parent298082783a0d6d07109f8ce09ab410a1de12876d
ASoC: rockchip: spdif: Add support for format S32_LE

Treat 32 bit sample width as if it was 24 bits using only the
24 most significant bits.

[I've merged the channel-swapping fix from Zohn Ni into Sugar Zhang's
patch introducing the problem in the first place]

Co-developed-by: Zohn Ni <zohn.ni@rock-chips.com>
Signed-off-by: Zohn Ni <zohn.ni@rock-chips.com>
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://patch.msgid.link/20260203-rockchip-spdif-cleanup-and-bsp-sync-v2-8-4412016cf577@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_spdif.c
sound/soc/rockchip/rockchip_spdif.h