summaryrefslogtreecommitdiffstats
path: root/sound/usb/endpoint.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-11-20 18:24:47 +0100
committerTakashi Iwai <tiwai@suse.de>2012-11-21 11:37:40 +0100
commit20d32022a8d8639a33d0e429f2d3c51b527ea362 (patch)
tree361cb984165311d03c39849f402d7ee4e075d9d8 /sound/usb/endpoint.c
parentALSA: usb-audio: Return meaningful error codes instead of -1 in format.c (diff)
downloadlinux-20d32022a8d8639a33d0e429f2d3c51b527ea362.tar.xz
linux-20d32022a8d8639a33d0e429f2d3c51b527ea362.zip
ALSA: usb-audio: Deprecate async_unlink option
The async unlink behavior has been working over years. The option was provided only as a workaround for 2.4.x kernel. Let's get rid of it. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/endpoint.c')
-rw-r--r--sound/usb/endpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c
index 51a9aa372cc7..d7382a5e29bb 100644
--- a/sound/usb/endpoint.c
+++ b/sound/usb/endpoint.c
@@ -523,7 +523,7 @@ static int deactivate_urbs(struct snd_usb_endpoint *ep, int force, int can_sleep
if (!force && ep->chip->shutdown) /* to be sure... */
return -EBADFD;
- async = !can_sleep && ep->chip->async_unlink;
+ async = !can_sleep;
clear_bit(EP_FLAG_RUNNING, &ep->flags);