diff options
| author | Stefan Binding <sbinding@opensource.cirrus.com> | 2025-04-07 18:16:42 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-05-06 02:49:19 +0300 |
| commit | a3ec669efcee2cffd8ca020df777adbf79ac0b75 (patch) | |
| tree | 76b90f3ad4ae62f3091e003658d189256ac17019 /include | |
| parent | 8c0821ccaa1e53c30f6a51d034171e20d522a9c0 (diff) | |
| download | linux-a3ec669efcee2cffd8ca020df777adbf79ac0b75.tar.xz | |
ASoC: cs35l56: Add Mute, Volume and Posture registers to firmware register list
Registers to set Mute, Volume and Posture are inside firmware,
which means they should be added to the list of registers set inside
firmware, in case they vary across Device or Revision.
These three registers are also used for controls, so additional
handling is required to be able to obtain and set the register inside
ALSA controls.
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20250407151842.143393-4-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/cs35l56.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/cs35l56.h b/include/sound/cs35l56.h index d712cb79652b..3abe4fbd2085 100644 --- a/include/sound/cs35l56.h +++ b/include/sound/cs35l56.h @@ -273,6 +273,9 @@ struct cs35l56_fw_reg { unsigned int pm_cur_stat; unsigned int prot_sts; unsigned int transducer_actual_ps; + unsigned int user_mute; + unsigned int user_volume; + unsigned int posture_number; }; struct cs35l56_base { |
