From: David Henningsson Date: Tue, 19 Feb 2013 15:11:25 +0000 (+0100) Subject: ALSA: hda - hdmi: Protect ELD buffer X-Git-Tag: v3.9-rc1~129^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bd038f9d80216a6e95c5c36fae5054a83ea75d7;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed