diff options
author | Mark Brown <broonie@kernel.org> | 2022-11-25 14:23:03 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-25 14:23:03 +0000 |
commit | 57405d8be4921956b8092b2e4516389bb30bdab5 (patch) | |
tree | f9760dac6d28d7acd3135aece7646da0ab52a9eb /sound/soc/codecs/wcd9335.h | |
parent | 830a35aa2121258d0c8283abe45ebb5c3d2fd791 (diff) | |
parent | 7406bdbc4fb8b99cf0150cb2056a585c95ceafe7 (diff) |
ASoC: wm_adsp: Report when a control write changes the value
Merge series from Richard Fitzgerald <rf@opensource.cirrus.com>:
Writing a firmware control should be returning 1 if the control value
changed, so these two patches add that.
Though this is an ALSA requirement it is also useful for non-ALSA clients
of cs_dsp to know if the control value changed, so the main handling is
implemented in cs_dsp. TLV controls are specifically an ALSA thing so they
are handled specially in wm_adsp.
Simon Trimmer (2):
firmware: cs_dsp: cs_dsp_coeff_write_ctrl() should report changed
ASoC: wm_adsp: Return whether changed when writing controls
drivers/firmware/cirrus/cs_dsp.c | 17 ++++++++++++-----
sound/soc/codecs/wm_adsp.c | 27 ++++++++++++++++++---------
2 files changed, 30 insertions(+), 14 deletions(-)
--
2.30.2
Diffstat (limited to 'sound/soc/codecs/wcd9335.h')
0 files changed, 0 insertions, 0 deletions