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)
commit744626dada90cb1231a65b08874aa7a9f11c2ea8
treeaf45566be0dd278ed698f00deb1b734ad0b492d3
parentb95d68b8179764e29558b75cec35ef4a6a98925b
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