ALSA: hda - hdmi: Do not expose eld data when eld is invalid
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 19 Feb 2013 15:11:23 +0000 (16:11 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 19 Feb 2013 17:28:13 +0000 (18:28 +0100)
Previously, it was possible to read the eld data of the previous
monitor connected. This should not be allowed.

Also refactor the function slightly.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found