diff options
| author | Mark Brown <broonie@kernel.org> | 2026-07-15 21:18:10 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-19 22:03:23 +0100 |
| commit | 9a9269dbbf1aba4bf329f770d6c473dc9cfb29e8 (patch) | |
| tree | 651d817c5b6954651746866fb9708e553463805a /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 8fb41964f7e4e4207c8999af2056894caa7a252a (diff) | |
ASoC: tas2562: Fix event generation for volume control
ALSA put() operations should return 0 for noop updates and 1 if the
value of the control changed, this is used by the ALSA core to generate
events to userspace. tas2562_volume_control_put() does not implement
this, it just writes whatever value userspace wrote to the device and
returns 0 regardless of what the previous value was. Fix this by
suppressing writes if the value is unchanged and returning 1 if the
writes succeed.
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20260715-asoc-tas2562-put-retval-v1-2-97bf467c924e@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
