aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>2023-04-28 11:59:41 +0200
committerTakashi Iwai <tiwai@suse.de>2023-05-08 09:31:00 +0200
commit06405d8ee8c3bac5b3a4ddda58f6431187a3be48 (patch)
tree18f2ee3cec5185c83e5a96aa786a54bcdeb60125 /tools/perf/scripts/python/bin
parentALSA: core: update comment on snd_card.controls_rwsem (diff)
downloadlinux-06405d8ee8c3bac5b3a4ddda58f6431187a3be48.tar.gz
linux-06405d8ee8c3bac5b3a4ddda58f6431187a3be48.zip
ALSA: emu10k1: remove now superfluous mixer locking
Since commit 5bbb1ab5bd ("control: use counting semaphore as write lock for ELEM_WRITE operation"), mixer values have been fully read-write locked. This means that it is now unnecessary to apply any additional locks to values that are accessed solely by mixer callbacks. Values that are read outside mixer callbacks still need write locking. There are no cases of mixer values being written outside mixer callbacks, so no read locks remain in mixer callbacks. Note that the removed locks refer only to the emu data structure, not the card's registers as the lock's name suggests. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Link: https://lore.kernel.org/r/20230428095941.1706278-7-oswald.buddenhagen@gmx.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions