]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ALSA: usb-audio: simplify endpoint deactivation code
authorTakashi Iwai <tiwai@suse.de>
Wed, 21 Nov 2012 07:22:52 +0000 (08:22 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 21 Nov 2012 10:43:54 +0000 (11:43 +0100)
commitccc1696d527d64deb417bfa1ef9e479d10ad4f6b
treed28dcb5241cec632d0ff0d8d2fb79528c658f155
parenta9bb36261ef5c7e25564d5ce8a5129920a29bff9
ALSA: usb-audio: simplify endpoint deactivation code

For further code simplification, drop the conditional call for
usb_kill_urb() with can_wait argument in deactivate_urbs(), and use
only usb_unlink_urb() and wait_clear_urbs() pairs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/endpoint.c