diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2022-02-22 18:32:10 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-23 02:04:07 +0000 |
commit | b0217519236924f77a8382b4004e43ef8fd0dcbb (patch) | |
tree | 244cf48ed69f263f0ea39b799a1bebe19e5c8acc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cc587b7c8fbbe128f6bd0dad025a0caea5e6d164 (diff) |
ASoC: codecs: wcd938x: fix kcontrol max values
set "HPH Type" Kcontrol max value of WCD_MBHC_HPH_STEREO instead of UINT_MAX.
set "HPHL/R Impedance" Kcontrols max value to INT_MAX instead of UINT_MAX as
max field is integer type.
Without this patch amixer for these controls will show -1 as max value to userspace.
Fixes: bcee7ed09b8e ("ASoC: codecs: wcd938x: add Multi Button Headset Control support")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220222183212.11580-8-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions