ALSA: hda - Don't use auto-parser for cxt5045 / 5051 as default
[firefly-linux-kernel-4.4.55.git] / sound / pci / hda / patch_conexant.c
index fb759bff91a99345184a5861fc56e5aa5ba6a388..6c9abee9ce82060d180a194dd8ad791804608589 100644 (file)
@@ -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);