diff options
| author | Srinivas Kandagatla <[email protected]> | 2022-02-22 18:32:11 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-02-23 02:04:08 +0000 |
| commit | 61163c3e7480106804269182e24db05244866493 (patch) | |
| tree | dc0e3311987cd5cffea5619e3d8b5d07729252ef /fs/jbd2/commit.c | |
| parent | ASoC: codecs: wcd938x: fix kcontrol max values (diff) | |
| download | kernel-61163c3e7480106804269182e24db05244866493.tar.gz kernel-61163c3e7480106804269182e24db05244866493.zip | |
ASoC: codecs: wcd934x: 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: 9fb9b1690f0b ("ASoC: codecs: wcd934x: add mbhc support")
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
