diff options
| -rw-r--r-- | sound/pci/hda/patch_hdmi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 21425fb51fe0..78e1827d0a95 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c | |||
| @@ -1640,6 +1640,9 @@ static int generic_hdmi_build_jack(struct hda_codec *codec, int pin_idx) | |||
| 1640 | 1640 | ||
| 1641 | if (pcmdev > 0) | 1641 | if (pcmdev > 0) |
| 1642 | sprintf(hdmi_str + strlen(hdmi_str), ",pcm=%d", pcmdev); | 1642 | sprintf(hdmi_str + strlen(hdmi_str), ",pcm=%d", pcmdev); |
| 1643 | if (!is_jack_detectable(codec, per_pin->pin_nid)) | ||
| 1644 | strncat(hdmi_str, " Phantom", | ||
| 1645 | sizeof(hdmi_str) - strlen(hdmi_str) - 1); | ||
| 1643 | 1646 | ||
| 1644 | return snd_hda_jack_add_kctl(codec, per_pin->pin_nid, hdmi_str, 0); | 1647 | return snd_hda_jack_add_kctl(codec, per_pin->pin_nid, hdmi_str, 0); |
| 1645 | } | 1648 | } |
