summaryrefslogtreecommitdiff
path: root/sound/pci/hda/patch_conexant.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-05-10 18:11:15 +0400
committerTakashi Iwai <tiwai@suse.de>2012-05-10 18:12:13 +0400
commitc3b6bcc292da80ea08a979af177538ffdbbae36b (patch)
tree42202b40e340567e58feeeeeaf680c58c71d0196 /sound/pci/hda/patch_conexant.c
parente3245cddcf56ccd810b73d0a2918e02560da93ab (diff)
downloadlinux-c3b6bcc292da80ea08a979af177538ffdbbae36b.tar.xz
ALSA: hda - Fix concurrent hash accesses
The amp and caps hashes aren't protected properly for concurrent accesses. Protect them via a new mutex now. But it can't be so simple as originally thought: since the update of a hash table entry itself might trigger the power-up sequence which again accesses the hash table, we can't cover the whole function simply via mutex. Thus the update part has to be split from the mutex and revalidated. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_conexant.c')
0 files changed, 0 insertions, 0 deletions