Skip to contentSkip to conversation

ALSA: hda - Fix forgotten HDMI monitor_present update

PATCH New Takashi Iwai 1 participant 1 message Mar 18, 2016 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda - Fix forgotten HDMI monitor_present update

We forgot to copy monitor_present value when updating the ELD information. This won't change the ELD retrieval and the jack
notification behavior, but appears only in the proc output. In that
sense, it's no fatal error, but a bug is a bug is a bug.

---
 sound/pci/hda/patch_hdmi.c | 1 +
 1 file changed, 1 insertion(+)
sound/pci/hda/patch_hdmi.c +1 -0
index 8cdb804aa9cf..e7d9453ecd10 100644
@@ -1358,6 +1358,7 @@ static void update_eld(struct hda_codec *codec,
 			   eld->eld_size) != 0)
 			eld_changed = true;
 
+	pin_eld->monitor_present = eld->monitor_present;
 	pin_eld->eld_valid = eld->eld_valid;
 	pin_eld->eld_size = eld->eld_size;
 	if (eld->eld_valid)
Signature · 1 line
2.7.4