summaryrefslogtreecommitdiff
path: root/drivers/firmware
diff options
context:
space:
mode:
authorSimon Trimmer <simont@opensource.cirrus.com>2022-11-23 16:58:11 +0000
committerMark Brown <broonie@kernel.org>2022-11-23 17:03:10 +0000
commit7406bdbc4fb8b99cf0150cb2056a585c95ceafe7 (patch)
tree8341ab9a91a2b4972e21c50970b9176cba3b6d34 /drivers/firmware
parentc56f4b2442d33bd94c418697f753271099384bee (diff)
ASoC: wm_adsp: Return whether changed when writing controls
Functions that update cs_dsp controls need to handle return codes that indicate whether the control value changed. A return code of 1 indicates a change, 0 indicates no-change and a negative value is an error condition. Acked controls implicitly change value when written so a successful write shall always report that the value changed. Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com> Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://lore.kernel.org/r/20221123165811.3014472-3-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions