Commit 882485f7 authored by Takashi Iwai's avatar Takashi Iwai Committed by Greg Kroah-Hartman

ALSA: hda - Fix forgotten HDMI monitor_present update

commit bd481285 upstream.

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.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent eab276c7
...@@ -1566,6 +1566,7 @@ static void update_eld(struct hda_codec *codec, ...@@ -1566,6 +1566,7 @@ static void update_eld(struct hda_codec *codec,
eld->eld_size) != 0) eld->eld_size) != 0)
eld_changed = true; eld_changed = true;
pin_eld->monitor_present = eld->monitor_present;
pin_eld->eld_valid = eld->eld_valid; pin_eld->eld_valid = eld->eld_valid;
pin_eld->eld_size = eld->eld_size; pin_eld->eld_size = eld->eld_size;
if (eld->eld_valid) if (eld->eld_valid)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment