Skip to content

Commit 53a58bf

Browse files
dobiaspbroonie
authored andcommitted
ASoC: max9867: fix ADC level control
Fix swapped channels in ADC level control. Signed-off-by: Pavel Dobias <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 8ba4dc3 commit 53a58bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/max9867.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static const struct snd_kcontrol_new max9867_snd_controls[] = {
5858
max9867_dac_tlv),
5959
SOC_SINGLE_TLV("Digital Boost Playback Volume", MAX9867_DACLEVEL, 4, 3, 0,
6060
max9867_dacboost_tlv),
61-
SOC_DOUBLE_TLV("Digital Capture Volume", MAX9867_ADCLEVEL, 0, 4, 15, 1,
61+
SOC_DOUBLE_TLV("Digital Capture Volume", MAX9867_ADCLEVEL, 4, 0, 15, 1,
6262
max9867_adc_tlv),
6363
SOC_ENUM("Speaker Mode", max9867_spkmode),
6464
SOC_SINGLE("Volume Smoothing Switch", MAX9867_MODECONFIG, 6, 1, 0),

0 commit comments

Comments
 (0)