Commit 572f1f61 authored by Bard Liao's avatar Bard Liao Committed by Mark Brown

ASoC: rt5670: fix HP Playback Volume control

The register setting for HP Playback Volume is inverted. So, set
the invert flag in SOC_DOUBLE_TLV.
Signed-off-by: default avatarBard Liao <bardliao@realtek.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1a695a90
...@@ -619,7 +619,7 @@ static const struct snd_kcontrol_new rt5670_snd_controls[] = { ...@@ -619,7 +619,7 @@ static const struct snd_kcontrol_new rt5670_snd_controls[] = {
RT5670_L_MUTE_SFT, RT5670_R_MUTE_SFT, 1, 1), RT5670_L_MUTE_SFT, RT5670_R_MUTE_SFT, 1, 1),
SOC_DOUBLE_TLV("HP Playback Volume", RT5670_HP_VOL, SOC_DOUBLE_TLV("HP Playback Volume", RT5670_HP_VOL,
RT5670_L_VOL_SFT, RT5670_R_VOL_SFT, RT5670_L_VOL_SFT, RT5670_R_VOL_SFT,
39, 0, out_vol_tlv), 39, 1, out_vol_tlv),
/* OUTPUT Control */ /* OUTPUT Control */
SOC_DOUBLE("OUT Channel Switch", RT5670_LOUT1, SOC_DOUBLE("OUT Channel Switch", RT5670_LOUT1,
RT5670_VOL_L_SFT, RT5670_VOL_R_SFT, 1, 1), RT5670_VOL_L_SFT, RT5670_VOL_R_SFT, 1, 1),
......
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