diff options
| author | 2026-10-14 22:06:02 +0200 | |
|---|---|---|
| committer | 2026-10-15 23:08:05 +0100 | |
| commit | 223ec2a93bec6c5ee859094c826fec78516a0bb3 (patch) | |
| tree | c05782f2cdb625ed20ab8d095f78ba1a260b6714 /scripts/Makefile.thinlto | |
| parent | ASoC: soc-link: Correct stream stop operations in snd_soc_link_trigger (diff) | |
ASoC: ops: Fix return value in snd_soc_limit_volume()
As documented snd_soc_limit_volume() should return 0 on success, however
at some point in time this promise was broken when
snd_soc_clip_to_platform_max() was refactored, refactor it once again
using __free() to automatically free struct snd_ctl_elem_value and
return proper value.
Fixes: 7e10d7242ea8 ("ASoC: ops: dynamically allocate struct snd_ctl_elem_value")
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Link: https://patch.msgid.link/20261014200608.118770-3-amade@asmblr.net
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
