projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: usb-audio: Fix scheduling-while-atomic bug in PCM capture stream
[firefly-linux-kernel-4.4.55.git]
/
sound
/
usb
/
endpoint.c
diff --git
a/sound/usb/endpoint.c
b/sound/usb/endpoint.c
index 0f647d22cb4ac7bccffe25311011255cf0b33104..c411812026884408afd74f1e580f2e87bbe747fc 100644
(file)
--- a/
sound/usb/endpoint.c
+++ b/
sound/usb/endpoint.c
@@
-821,10
+821,6
@@
int snd_usb_endpoint_start(struct snd_usb_endpoint *ep)
if (++ep->use_count != 1)
return 0;
- /* just to be sure */
- deactivate_urbs(ep, 0, 1);
- wait_clear_urbs(ep);
-
ep->active_mask = 0;
ep->unlink_mask = 0;
ep->phase = 0;