diff options
author | Zhang Qiang <qiang.zhang@windriver.com> | 2020-07-06 13:14:55 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-07-09 10:13:07 +0300 |
commit | 8778eb0927ddcd3f431805c37b78fa56481aeed9 (patch) | |
tree | 85026f1a38e98e0fddd01c9146604bb451048434 /crypto | |
parent | 30517ffeb3bff842e1355cbc32f1959d9dbb5414 (diff) |
usb: gadget: function: fix missing spinlock in f_uac1_legacy
Add a missing spinlock protection for play_queue, because
the play_queue may be destroyed when the "playback_work"
work func and "f_audio_out_ep_complete" callback func
operate this paly_queue at the same time.
Fixes: c6994e6f067cf ("USB: gadget: add USB Audio Gadget driver")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Zhang Qiang <qiang.zhang@windriver.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions