summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-04-14 15:22:11 +0200
committerTakashi Iwai <tiwai@suse.de>2026-04-15 14:27:26 +0200
commitf3c80e76a0e94c7c9771997de90f6a284b4f10d9 (patch)
tree4fe21b9c4fb1d74537eff568afcea218a0581602 /scripts/stackusage
parent28abd224db4a49560b452115bca3672a20e45b2f (diff)
ALSA: 6fire: Cover the whole probe and disconnect calls with register_mutex
In 6fire driver, we protect the concurrent calls against probe and disconnect with the register_mutex, but it's applied only partially. Since we handle two global pointers in devices[] and chips[] pairs, the assignment of the latter can be inconsistent upon concurrent interface probes, and the refcount handling isn't properly protected at disconnect, either. This patch extends the mutex application range to the whole probe and disconnect functions. It makes the code safer against potential concurrent probles and disconnects, while it makes the code easier to read, too. Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20260414132218.411013-2-tiwai@suse.de
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions