• Jaroslav Kysela's avatar
    ALSA CVS update - Jaroslav Kysela <perex@suse.cz> · 2db6ec88
    Jaroslav Kysela authored
    USB generic driver
    Clemens Ladisch <clemens@ladisch.de>
    deactivate_urbs didn't return the number of still-active URBs when not
    unlinking asynchronously, which would prevent calling wait_clear_urbs
    when some URBs actually are being unlinked asynchronously, so these
    URBs would be freed while still in use.
    
    I removed deactivate_urb's return value because wait_clear_urbs does
    its own counting anyway.
    2db6ec88
usbaudio.c 84.3 KB