Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37db623a authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix check of ALC888S-VC in alc888_coef_init()



Fixed the wrong bits check to identify ALC888S-VC model in
alc888_coef_init().

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7ec30f0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -982,7 +982,7 @@ static void alc888_coef_init(struct hda_codec *codec)
	snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_COEF_INDEX, 0);
	tmp = snd_hda_codec_read(codec, 0x20, 0, AC_VERB_GET_PROC_COEF, 0);
	snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_COEF_INDEX, 7);
	if ((tmp & 0xf0) == 2)
	if ((tmp & 0xf0) == 0x20)
		/* alc888S-VC */
		snd_hda_codec_read(codec, 0x20, 0,
				   AC_VERB_SET_PROC_COEF, 0x830);