Skip to content

Commit

Permalink
ALSA: hda - Don't use auto-parser for cxt5045 / 5051 as default
Browse files Browse the repository at this point in the history
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: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed May 15, 2011
1 parent 1387cde commit 9b842cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sound/pci/hda/patch_conexant.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 9b842cd

Please sign in to comment.