From: Takashi Iwai Date: Wed, 21 Nov 2012 07:30:48 +0000 (+0100) Subject: ALSA: usb-audio: stop both data and sync endpoints asynchronously X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~39^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2eb950de2f09435d5156f4dc6d5dbf284cd97f3;p=pandora-kernel.git 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: Takashi Iwai --- Reading git-diff-tree failed