diff options
| author | Shuming Fan <shumingf@realtek.com> | 2025-11-06 17:33:35 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-06 13:05:44 +0000 |
| commit | 1b0f3f9ee41ee2bdd206667f85ea2aa36dfe6e69 (patch) | |
| tree | 09fa61e1a9156531eb832bed2d0f21dd90d27966 /include | |
| parent | 6d34b66fb726a613b98c936adee70d42aa5e4aa7 (diff) | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/soc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 1aebf14fcf80..53b4129ee97a 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1225,6 +1225,7 @@ struct soc_mixer_control { unsigned int sign_bit; unsigned int invert:1; unsigned int autodisable:1; + unsigned int sdca_q78:1; #ifdef CONFIG_SND_SOC_TOPOLOGY struct snd_soc_dobj dobj; #endif |
