aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2023-07-18 16:12:54 +0200
committerTakashi Iwai <[email protected]>2023-07-20 10:00:02 +0200
commitd4e99962d16ce60ac9ecf995489dc60d7854f1bd (patch)
tree03356be7a3cac250abdc36bb20141385e2c217cc /tools/perf/scripts/python/stackcollapse.py
parentfdf0eaf11452d72945af31804e2a1048ee1b574c (diff)
ALSA: control: Take card->controls_rwsem in snd_ctl_rename()
snd_ctl_rename() expects that card->controls_rwsem is held in the caller side for avoiding possible races, but actually no one really did that. It's likely because this operation is done usually only at the device initialization where no race can happen. But, it's still safer to take a lock, so we just take the lock inside snd_ctl_rename() like most of other API functions do. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions