diff options
| author | Mark Brown <broonie@kernel.org> | 2026-08-01 01:02:01 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-01 01:02:01 +0100 |
| commit | ee145d35e44fd5d72eca19221bb65a26b9097c09 (patch) | |
| tree | d8f5070f78b6233d974f64eb759d9ab538cdf683 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 17661c67b206612cb3ba65d5ae726cd2015d0a53 (diff) | |
| parent | 56f24311fd5607588a47e44675195a9efb200f29 (diff) | |
ASoC: codecs: lpass-{tx,wsa}-macro: fix enum kcontrol accesses
Dawid Wróbel <me@dawidwrobel.com> says:
Both drivers access enumerated controls through value.integer.value[0]
instead of value.enumerated.item[0]. The same bug was fixed in rx-macro
and va-macro in 2022 (bcfe5f76cc40, 0ea5eff7c606); tx-macro and
wsa-macro were missed.
On 64-bit kernels with CONFIG_SND_CTL_DEBUG this trips the elem value
sanity check, and every read of the affected controls fails with
-EINVAL.
Reproduced and fixed on a Xiaomi Mi Pad 5 Pro (SM8250) for tx-macro.
wsa-macro is compile-tested only — that codec is not instantiated on
this hardware.
Link: https://patch.msgid.link/20260730-worktree-lpass-tx-macro-enum-fix-v2-0-6d091c736116@dawidwrobel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
