summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2021-01-18 09:49:31 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-18 18:43:09 +0100
commitd70f7598c4583c6326cbd499b66bc9b3dd821e12 (patch)
tree0e397fdaf4d202cafb7be198d2ab64fea78229fa /scripts/gdb/linux/tasks.py
parent2986511780438274646f63a171ac60e61313032c (diff)
usb: gadget: u_audio: clean up locking
snd_pcm_stream_lock() is held when the ALSA .trigger() callback is called. The lock of 'struct uac_rtd_params' is not necessary since all its locking operation are done under the snd_pcm_stream_lock() too. Also, usb_request .complete() is called with irqs disabled, so saving and restoring the irqs is not necessary. Acked-by: Felipe Balbi <balbi@kernel.org> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20210118084931.322861-1-jbrunet@baylibre.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions