diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-11-20 18:24:47 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-11-21 11:37:40 +0100 |
commit | 20d32022a8d8639a33d0e429f2d3c51b527ea362 (patch) | |
tree | 361cb984165311d03c39849f402d7ee4e075d9d8 /sound/usb/endpoint.c | |
parent | ALSA: usb-audio: Return meaningful error codes instead of -1 in format.c (diff) | |
download | linux-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.c | 2 |
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); |