]> Git Repo - linux.git/commit
ALSA: hda - hdmi: Protect ELD buffer
authorDavid Henningsson <[email protected]>
Tue, 19 Feb 2013 15:11:25 +0000 (16:11 +0100)
committerTakashi Iwai <[email protected]>
Tue, 19 Feb 2013 17:28:30 +0000 (18:28 +0100)
commit4bd038f9d80216a6e95c5c36fae5054a83ea75d7
treea2347fc3bb5bdbb84527858956667b9d9882ba0c
parent1613d6b46b433f07f1d2703e4bd102802dcd75a4
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
sound/pci/hda/hda_eld.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_hdmi.c
This page took 0.052885 seconds and 4 git commands to generate.