Browse Source

ALSA: hda - Don't forget to call init verbs added by fixup list

During the split to the auto-parser helper functions, the actual call
of init verbs was lost.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43366

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 13 năm trước cách đây
mục cha
commit
2e8b2b29d1

+ 1 - 1
sound/pci/hda/patch_conexant.c

@@ -4061,7 +4061,7 @@ static void cx_auto_init_digital(struct hda_codec *codec)
 static int cx_auto_init(struct hda_codec *codec)
 static int cx_auto_init(struct hda_codec *codec)
 {
 {
 	struct conexant_spec *spec = codec->spec;
 	struct conexant_spec *spec = codec->spec;
-	/*snd_hda_sequence_write(codec, cx_auto_init_verbs);*/
+	snd_hda_gen_apply_verbs(codec);
 	cx_auto_init_output(codec);
 	cx_auto_init_output(codec);
 	cx_auto_init_input(codec);
 	cx_auto_init_input(codec);
 	cx_auto_init_digital(codec);
 	cx_auto_init_digital(codec);

+ 1 - 0
sound/pci/hda/patch_realtek.c

@@ -1896,6 +1896,7 @@ static int alc_init(struct hda_codec *codec)
 	alc_fix_pll(codec);
 	alc_fix_pll(codec);
 	alc_auto_init_amp(codec, spec->init_amp);
 	alc_auto_init_amp(codec, spec->init_amp);
 
 
+	snd_hda_gen_apply_verbs(codec);
 	alc_init_special_input_src(codec);
 	alc_init_special_input_src(codec);
 	alc_auto_init_std(codec);
 	alc_auto_init_std(codec);