Skip to content

Commit e1f42a2

Browse files
Bard Liaobroonie
authored andcommitted
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: Bard Liao <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 1a695a9 commit e1f42a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/rt5670.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ static const struct snd_kcontrol_new rt5670_snd_controls[] = {
619619
RT5670_L_MUTE_SFT, RT5670_R_MUTE_SFT, 1, 1),
620620
SOC_DOUBLE_TLV("HP Playback Volume", RT5670_HP_VOL,
621621
RT5670_L_VOL_SFT, RT5670_R_VOL_SFT,
622-
39, 0, out_vol_tlv),
622+
39, 1, out_vol_tlv),
623623
/* OUTPUT Control */
624624
SOC_DOUBLE("OUT Channel Switch", RT5670_LOUT1,
625625
RT5670_VOL_L_SFT, RT5670_VOL_R_SFT, 1, 1),

0 commit comments

Comments
 (0)