Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8f8d1d7f authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent bcce775c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment