]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/hdmi - consider eld_valid also in sync_eld_via_acomp()
authorJaroslav Kysela <perex@perex.cz>
Thu, 13 Jun 2019 13:09:01 +0000 (15:09 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 13 Jun 2019 13:51:26 +0000 (15:51 +0200)
commit7646b9b592b566a47b452f15849e9a0b964dc8f9
treeb5e9874f147163ce091ad212544741a4e466592b
parente7a8d10a2656d69a95cb5fe6246d40b918787394
ALSA: hda/hdmi - consider eld_valid also in sync_eld_via_acomp()

In the commit 12dfa4a0ab02037f66d4e4597b67f4fdcd224e93 (ALSA: hda/hdmi
- Consider eld_valid when reporting jack event) the eld_valid check was
added for the jack event reports. Do the same in sync_eld_via_acomp()
function. Apparently, it is required for the NVIDIA proprietary driver
(monitor presence reported first, but ELD is available later).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c