ALSA: hda - Delay HDMI presence reports while waiting for ELD information
authorTakashi Iwai <tiwai@suse.de>
Thu, 7 Nov 2013 12:38:23 +0000 (13:38 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Nov 2013 13:02:49 +0000 (14:02 +0100)
commitefe4710860fa6ed10dd041f13902f0e06c86e8cc
tree5cfecea529d1e8650d51cc841d1959b417253ba8
parent3b098eb486868d57d7f2666d05b86c19a07df71b
ALSA: hda - Delay HDMI presence reports while waiting for ELD information

There is a small gap between the jack detection unsolicited event and
the time the ELD is updated.  When user-space queries the HDMI ELD
immediately after receiving the notification, it might fail because of
this gap.

For avoiding such a problem, this patch tries to delay the HDMI jack
detect notification until ELD information is fully updated.  The
workaround is imperfect, but good enough as a starting point.

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