|
@@ -146,7 +146,7 @@ static int add_new_node(struct hda_codec *codec, struct hda_gspec *spec, hda_nid
|
|
if (node->type == AC_WID_PIN) {
|
|
if (node->type == AC_WID_PIN) {
|
|
node->pin_caps = snd_hda_param_read(codec, node->nid, AC_PAR_PIN_CAP);
|
|
node->pin_caps = snd_hda_param_read(codec, node->nid, AC_PAR_PIN_CAP);
|
|
node->pin_ctl = snd_hda_codec_read(codec, node->nid, 0, AC_VERB_GET_PIN_WIDGET_CONTROL, 0);
|
|
node->pin_ctl = snd_hda_codec_read(codec, node->nid, 0, AC_VERB_GET_PIN_WIDGET_CONTROL, 0);
|
|
- node->def_cfg = snd_hda_codec_read(codec, node->nid, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
|
|
|
|
|
|
+ node->def_cfg = snd_hda_codec_get_pincfg(codec, node->nid);
|
|
}
|
|
}
|
|
|
|
|
|
if (node->wid_caps & AC_WCAP_OUT_AMP) {
|
|
if (node->wid_caps & AC_WCAP_OUT_AMP) {
|