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. Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
691be973c0
commit
bd48128539
1 changed files with 1 additions and 0 deletions
|
@ -1358,6 +1358,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)
|
||||||
|
|
Loading…
Reference in a new issue