|
@@ -2708,6 +2708,10 @@ int snd_hda_parse_pin_def_config(struct hda_codec *codec,
|
|
case AC_JACK_LINE_OUT:
|
|
case AC_JACK_LINE_OUT:
|
|
seq = get_defcfg_sequence(def_conf);
|
|
seq = get_defcfg_sequence(def_conf);
|
|
assoc = get_defcfg_association(def_conf);
|
|
assoc = get_defcfg_association(def_conf);
|
|
|
|
+
|
|
|
|
+ if (!(wid_caps & AC_WCAP_STEREO))
|
|
|
|
+ if (!cfg->mono_out_pin)
|
|
|
|
+ cfg->mono_out_pin = nid;
|
|
if (!assoc)
|
|
if (!assoc)
|
|
continue;
|
|
continue;
|
|
if (!assoc_line_out)
|
|
if (!assoc_line_out)
|
|
@@ -2856,6 +2860,7 @@ int snd_hda_parse_pin_def_config(struct hda_codec *codec,
|
|
cfg->hp_outs, cfg->hp_pins[0],
|
|
cfg->hp_outs, cfg->hp_pins[0],
|
|
cfg->hp_pins[1], cfg->hp_pins[2],
|
|
cfg->hp_pins[1], cfg->hp_pins[2],
|
|
cfg->hp_pins[3], cfg->hp_pins[4]);
|
|
cfg->hp_pins[3], cfg->hp_pins[4]);
|
|
|
|
+ snd_printd(" mono: mono_out=0x%x\n", cfg->mono_out_pin);
|
|
snd_printd(" inputs: mic=0x%x, fmic=0x%x, line=0x%x, fline=0x%x,"
|
|
snd_printd(" inputs: mic=0x%x, fmic=0x%x, line=0x%x, fline=0x%x,"
|
|
" cd=0x%x, aux=0x%x\n",
|
|
" cd=0x%x, aux=0x%x\n",
|
|
cfg->input_pins[AUTO_PIN_MIC],
|
|
cfg->input_pins[AUTO_PIN_MIC],
|