diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-11-23 09:53:27 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-11-23 15:14:36 +0100 |
commit | 57234bc1038517437d5c589595caf77b2118529e (patch) | |
tree | 338117bd31306f490d543ae740d56f34be7aa7ce /sound/usb/endpoint.h | |
parent | 73037c8dc1c8cf994a38fedba4a5af7e6da5e4f1 (diff) | |
download | linux-57234bc1038517437d5c589595caf77b2118529e.tar.gz linux-57234bc1038517437d5c589595caf77b2118529e.tar.bz2 linux-57234bc1038517437d5c589595caf77b2118529e.zip |
ALSA: usb-audio: Stop both endpoints properly at error
start_endpoints() may leave the data endpoint running if an error
happens at starting the sync endpoint. We should stop both streams
properly, instead.
While we're at it, move the debug prints into the endpoint.c that is a
more suitable place.
Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-22-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/endpoint.h')
0 files changed, 0 insertions, 0 deletions