diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-10-15 21:01:46 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-15 21:51:45 +0200 |
| commit | 8ea1086f3ffff73262eb20ebc6d1d708b72b6b20 (patch) | |
| tree | c43443f3a48adfbfcdfaff8eefb97b3b5138f67f /tools/lib/python/kdoc | |
| parent | 6904743ab77e0684dff319f3806ef982e5eea6cf (diff) | |
ALSA: pcm: Call snd_pcm_sync_stop outside spinlock in snd_pcm_drop()
In the recent addition of snd_pcm_sync_stop() call at snd_pcm_drop(),
I overlooked the guard() line in snd_pcm_drop() (and the review
overlooked, too) -- it must be called outside, of course!
Let's fix it. Now guard() became scoped_guard(), and its range is
shown more clearly.
Fixes: fdf9a21cda78 ("ALSA: pcm: Apply sync-stop at SNDRV_PCM_IOCTL_DROP ioctl")
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Closes: https://lore.kernel.org/c2bc1478-5999-455f-bd67-8b536c452215@samsung.com
Link: https://patch.msgid.link/20261015190147.230736-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
