diff options
author | Takashi Iwai <[email protected]> | 2023-07-20 10:05:19 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2023-07-20 10:05:19 +0200 |
commit | f056f2fef31e5662e3f995fc23ae0eea27db5a01 (patch) | |
tree | 49cce310d84ef9b8b6973079a3d64be4f267a9a7 /tools/perf/scripts/python/sctop.py | |
parent | 21634f0f307c8401462da2cd07507880ee17d3fc (diff) | |
parent | 3315cf95834fb5d612f6a5eb718c3620b80dd05e (diff) |
Merge tag 'tags/ctl-lock-fixes-6.6' into for-next
ALSA: Make control API taking controls_rwsem consistently
A few ALSA control API helpers like snd_ctl_rename(), snd_ctl_remove()
and snd_ctl_find_*() suppose the callers taking card->controls_rwsem.
But it's error-prone and fragile. This patch set tries to change
those API functions to take the card->controls>rwsem internally by
themselves, so that the drivers don't need to take care of lockings.
After applying this patch set, only a couple of places still touch
card->controls_rwsem (which are OK-ish as they need for traversing the
control linked list).
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions