summaryrefslogtreecommitdiff
path: root/lib/errseq.c
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2023-07-05 15:57:23 +0300
committerMark Brown <broonie@kernel.org>2023-07-05 16:53:47 +0300
commitc03226ba15fe3c42d13907ec7d8536396602557b (patch)
tree7481d0b3b907525419b779626e12e73d7b76f631 /lib/errseq.c
parent4f3fcf5f6dc8ab561e152c8747fd7e502b32266c (diff)
downloadlinux-c03226ba15fe3c42d13907ec7d8536396602557b.tar.xz
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 'lib/errseq.c')
0 files changed, 0 insertions, 0 deletions