mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-14 18:22:56 +00:00
[ALSA] usb-audio: properly lock hwptr_done accesses
USB generic driver Take the substream lock when reading hwptr_done to avoid a race condition with the updates in the URB callbacks. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
This commit is contained in:
parent
9624ea812c
commit
daa150ef7d
1 changed files with 8 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue