usb-core: Free bulk streams on interface release
authorHans de Goede <hdegoede@redhat.com>
Wed, 9 Oct 2013 15:19:26 +0000 (17:19 +0200)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 4 Mar 2014 23:38:03 +0000 (15:38 -0800)
commit6343e8bf09de16ab4dcae2c6ca1a0e8dbd4dd770
treead0ffaaeee9723f382a12220d87152582d241a59
parent8d4f70b2fa52ca80f74faebc2471f74ee374cf61
usb-core: Free bulk streams on interface release

Documentation/usb/bulk-streams.txt says:

All stream IDs will be deallocated when the driver releases the interface, to
ensure that drivers that don't support streams will be able to use the endpoint

This commit actually implements this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/core/driver.c