View | Details | Raw Unified | Return to bug 299094
Collapse All | Expand All

(-)b/sys/dev/sound/pci/hda/hdaa.c (-2 / +2 lines)
Lines 2008-2015 hdaa_audio_setup(struct hdaa_chan *ch) Link Here
2008
			/* Write HDMI/DisplayPort audio infoframe. */
2008
			/* Write HDMI/DisplayPort audio infoframe. */
2009
			hda_command(ch->devinfo->dev,
2009
			hda_command(ch->devinfo->dev,
2010
			    HDA_CMD_SET_HDMI_DIP_INDEX(0, nid, 0x00));
2010
			    HDA_CMD_SET_HDMI_DIP_INDEX(0, nid, 0x00));
2011
			if (w->eld != NULL && w->eld_len >= 6 &&
2011
			if (wp->eld != NULL && wp->eld_len >= 6 &&
2012
			    ((w->eld[5] >> 2) & 0x3) == 1) { /* DisplayPort */
2012
			    ((wp->eld[5] >> 2) & 0x3) == 1) { /* DisplayPort */
2013
				hda_command(ch->devinfo->dev,
2013
				hda_command(ch->devinfo->dev,
2014
				    HDA_CMD_SET_HDMI_DIP_DATA(0, nid, 0x84));
2014
				    HDA_CMD_SET_HDMI_DIP_DATA(0, nid, 0x84));
2015
				hda_command(ch->devinfo->dev,
2015
				hda_command(ch->devinfo->dev,

Return to bug 299094