[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: NClemens Ladisch <clemens@ladisch.de>
Showing
想要评论请 注册 或 登录