diff options
| author | Haidar Lee <haidar.lee@adlinktech.com> | 2026-07-15 14:04:41 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-19 22:00:12 +0100 |
| commit | bdb0fd6de403fcea7b85dc9d38f0a571583ebe80 (patch) | |
| tree | 544c98c400cd6b7580c8cfeec3bd969eb649174d /tools/perf/scripts/python/parallel-perf.py | |
| parent | 8e957e4907c58e9ca944f98799524f2bbb9cf68a (diff) | |
ASoC: tas2562: fix broken entries in the volume lookup table
The float_vol_db_lookup table is supposed to hold
round(10^(dB/20) * 2^30) for every 2 dB step from -110 dB to 0 dB,
which is 56 entries, but it only has 55: the -90 dB entry duplicates
the -92 dB value (0x0000695b) and the -20 dB entry (0x06666666) is
missing altogether. As a result every step between -90 dB and -22 dB
is off by 2 dB, and the control's maximum raw value of 110 indexes one
element past the end of the array.
Replace the duplicated -90 dB entry with the correct value 0x000084a3
and add the missing -20 dB entry, bringing the table to the full 56
entries so index 55 (raw value 110, 0 dB) is in range again.
Fixes: bf726b1c86f2 ("ASoC: tas2562: Add support for digital volume control")
Cc: stable@vger.kernel.org
Signed-off-by: Haidar Lee <haidar.lee@adlinktech.com>
Link: https://patch.msgid.link/20260715-tas2562-dvc-fix-v1-2-072b13901b20@adlinktech.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
