ALSA: usb-audio: Refactoring endpoint URB deactivation
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 08:53:35 +0000 (09:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 14:15:56 +0000 (15:15 +0100)
commitd0f09d1e4a88647695739d2ff4268e9fdcf5b35d
tree2ddaea96507cf026316cde53aab7e8208da15dd3
parent43b81e84068d26d630b63fa877e682909a0102fe
ALSA: usb-audio: Refactoring endpoint URB deactivation

Minor code refactoring to consolidate the URB deactivation code in
endpoint.c.  A slight behavior change is that the error handling in
snd_usb_endpoint_start() leaves EP_FLAG_STOPPING now.  This should be
synced with the later PCM sync_stop callback.

Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-30-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/endpoint.c