]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix superfluous HDMI jack repoll
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Dec 2015 13:35:09 +0000 (14:35 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Dec 2015 13:35:09 +0000 (14:35 +0100)
commit16ac72d4e62011e527c166b26c95f868f1fa1ce3
treeec6d562e058b19b075a033aa685e6af7b51ab83c
parent785c3c4b5e73be83bcb3ac7a2b123303f53a12a1
ALSA: hda - Fix superfluous HDMI jack repoll

The recent commit [786cf56bf8cf: ALSA: hda - Split ELD update code
from hdmi_present_sense()] rewrote the HDMI jack handling code, but a
slight behavior change sneaked in unexpectedly.  When the jack isn't
connected, it tries repoll unnecessarily.

This patch addresses the flaw, to the right behavior as before.

Fixes: 786cf56bf8cf ('ALSA: hda - Split ELD update code from hdmi_present_sense()')
Reported-and-tested-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c