]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SDCA: support Q7.8 volume format
authorShuming Fan <shumingf@realtek.com>
Thu, 6 Nov 2025 09:33:35 +0000 (17:33 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 6 Nov 2025 13:05:44 +0000 (13:05 +0000)
commit1b0f3f9ee41ee2bdd206667f85ea2aa36dfe6e69
tree09fa61e1a9156531eb832bed2d0f21dd90d27966
parent6d34b66fb726a613b98c936adee70d42aa5e4aa7
ASoC: SDCA: support Q7.8 volume format

The SDCA specification uses Q7.8 volume format.
This patch adds a field to indicate whether it is SDCA volume control
and supports the volume settings.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20251106093335.1363237-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/sdca/sdca_asoc.c
sound/soc/soc-ops.c