USB: uas: Ensure we only bind to a UAS interface
authorMatthew Wilcox <matthew@wil.cx>
Wed, 15 Dec 2010 20:44:05 +0000 (15:44 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 15 Dec 2010 23:26:44 +0000 (15:26 -0800)
commit89dc29051b626756e69db12f3ffb22e49a817bfe
tree99b2d431a73b4c6a1a1e17079b1c09e8ccf8c30b
parent92a3f767f5cd079351ae04a337c40266e9c6048f
USB: uas: Ensure we only bind to a UAS interface

While all existing UAS devices use alternate interface 1, this is not
guaranteed, and it has caused confusion with people trying to bind the
uas driver to non-uas devices.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/uas.c