]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - delayed ELD repoll
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 16 Nov 2011 08:29:47 +0000 (16:29 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Nov 2011 09:44:42 +0000 (10:44 +0100)
commit0b9e953b87f644d2d69ea17e461f4ed7bddf6900
treeaf45566be0dd278ed698f00deb1b734ad0b492d3
parent49ddc3a388a677e79e06c5ab6bdd0c64e944c42c
ALSA: hda - delayed ELD repoll

The Intel HDMI chips (ironlake at least) are found to have ~250ms delay
between the ELD_Valid=1 hotplug event is send and the ELD buffer becomes
actually readable. During the time the ELD buffer is mysteriously all 0.

Fix it by scheduling a delayed work to re-read ELD buffer after 300ms.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c