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

Commit 9b842cd8 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Don't use auto-parser for cxt5045 / 5051 as default



Just for safety reason (for avoiding any possible regressions), don't
enable auto-parser as default for cxt5045 and 5051, as well as 5047.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 1387cde5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1104,8 +1104,10 @@ static int patch_cxt5045(struct hda_codec *codec)
	board_config = snd_hda_check_board_config(codec, CXT5045_MODELS,
						  cxt5045_models,
						  cxt5045_cfg_tbl);
#if 0 /* use the old method just for safety */
	if (board_config < 0)
		board_config = CXT5045_AUTO;
#endif
	if (board_config == CXT5045_AUTO)
		return patch_conexant_auto(codec);

@@ -1972,8 +1974,10 @@ static int patch_cxt5051(struct hda_codec *codec)
	board_config = snd_hda_check_board_config(codec, CXT5051_MODELS,
						  cxt5051_models,
						  cxt5051_cfg_tbl);
#if 0 /* use the old method just for safety */
	if (board_config < 0)
		board_config = CXT5051_AUTO;
#endif
	if (board_config == CXT5051_AUTO)
		return patch_conexant_auto(codec);