summaryrefslogtreecommitdiffstats
path: root/block/bounce.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-02-01 17:24:02 +0100
committerTakashi Iwai <tiwai@suse.de>2017-02-03 17:35:07 +0100
commit8f8d1d7fe009c320d80ed1c7b0c1d3d48b538965 (patch)
tree5251eead3e47c2c1e1a042fcb8aa73ba5eb2339c /block/bounce.c
parentbcce775ca8d66a5222ac2d28e5388b5a6c2d9ad6 (diff)
downloadlinux-8f8d1d7fe009c320d80ed1c7b0c1d3d48b538965.tar.bz2
ALSA: x86: Fix racy access to chmap
The access to chmap can be racy against the hotplug process, where it recreates the chmap on the fly. For protecting against it, a mutex is introduced in this patch. It's also used for protecting the change / reference of eld and state fields, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions