Skip to content
Commit b2eb950d authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: usb-audio: stop both data and sync endpoints asynchronously



As we are stopping the endpoints asynchronously now, it's better to
trigger the stop of both data and sync endpoints and wait for pending
stopping operations, instead of the sequential trigger-and-wait
procedure.

So the wait argument in snd_usb_endpoint_stop() is dropped, and it's
expected that the caller synchronizes explicitly by calling
snd_usb_endpoint_sync_pending_stop().  (Actually there is only one
place calling this, so it was safe to change.)

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent ccc1696d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment