commit | 4bd038f9d80216a6e95c5c36fae5054a83ea75d7 | [log] [tgz] |
---|---|---|
author | David Henningsson <david.henningsson@canonical.com> | Tue Feb 19 16:11:25 2013 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Feb 19 18:28:30 2013 +0100 |
tree | a2347fc3bb5bdbb84527858956667b9d9882ba0c | |
parent | 1613d6b46b433f07f1d2703e4bd102802dcd75a4 [diff] |
ALSA: hda - hdmi: Protect ELD buffer Because the eld buffer can be simultaneously accessed from both workqueue context (updating) and process context (kcontrol read), we need to protect it with a mutex to guarantee consistency. To avoid holding the mutex while reading the ELD info from the codec, we introduce a temporary eld buffer. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>