Commit 53a58bf9 authored by Pavel Dobias's avatar Pavel Dobias Committed by Mark Brown

ASoC: max9867: fix ADC level control

Fix swapped channels in ADC level control.
Signed-off-by: default avatarPavel Dobias <dobias@2n.cz>
Link: https://lore.kernel.org/r/20200520071904.15801-1-dobias@2n.czSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8ba4dc3c
...@@ -58,7 +58,7 @@ static const struct snd_kcontrol_new max9867_snd_controls[] = { ...@@ -58,7 +58,7 @@ static const struct snd_kcontrol_new max9867_snd_controls[] = {
max9867_dac_tlv), max9867_dac_tlv),
SOC_SINGLE_TLV("Digital Boost Playback Volume", MAX9867_DACLEVEL, 4, 3, 0, SOC_SINGLE_TLV("Digital Boost Playback Volume", MAX9867_DACLEVEL, 4, 3, 0,
max9867_dacboost_tlv), max9867_dacboost_tlv),
SOC_DOUBLE_TLV("Digital Capture Volume", MAX9867_ADCLEVEL, 0, 4, 15, 1, SOC_DOUBLE_TLV("Digital Capture Volume", MAX9867_ADCLEVEL, 4, 0, 15, 1,
max9867_adc_tlv), max9867_adc_tlv),
SOC_ENUM("Speaker Mode", max9867_spkmode), SOC_ENUM("Speaker Mode", max9867_spkmode),
SOC_SINGLE("Volume Smoothing Switch", MAX9867_MODECONFIG, 6, 1, 0), SOC_SINGLE("Volume Smoothing Switch", MAX9867_MODECONFIG, 6, 1, 0),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment