diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2023-07-05 13:57:23 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-05 14:53:47 +0100 |
commit | c03226ba15fe3c42d13907ec7d8536396602557b (patch) | |
tree | 7481d0b3b907525419b779626e12e73d7b76f631 /scripts/gdb/linux/vmalloc.py | |
parent | 4f3fcf5f6dc8ab561e152c8747fd7e502b32266c (diff) |
ASoC: codecs: wcd938x: fix dB range for HPHL and HPHR
dB range for HPHL and HPHR gains are from +6dB to -30dB in steps of
1.5dB with register values range from 0 to 24.
Current code maps these dB ranges incorrectly, fix them to allow proper
volume setting.
Fixes: e8ba1e05bdc0 ("ASoC: codecs: wcd938x: add basic controls")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230705125723.40464-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions