commit | 76195fb096ca6db2f8bbaffb96e3025aaf1649a0 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Sep 08 08:27:02 2010 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Sep 08 08:27:02 2010 +0200 |
tree | 695e9030c4d07cee2a6db66f431d6997ec9071e7 | |
parent | fe6ce80ae25953d95ebaf9bce27b585218cda25c [diff] |
ALSA: usb - Release capture substream URBs properly Due to the wrong "return" in the loop, a capture substream won't be released at disconnection properly if the device is capture only and has no playback substream. This caused Oops occasionally at the device reconnection. Reported-by: Kim Minhyoung <minhyoung.kim@lge.com> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>