uas: Log a warning when we cannot use uas because the hcd lacks streams
commit43508be512661c905d0320ee73e0b65ef36d2459
authorHans de Goede <hdegoede@redhat.com>
Fri, 25 Jul 2014 20:01:27 +0000 (25 22:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Aug 2014 23:00:14 +0000 (1 16:00 -0700)
tree6e0b7544f1fe8dd51a0211ef91ed974182002be1
parentcc4deafc86f75f4e716b37fb4ea3572eb1e49e50
uas: Log a warning when we cannot use uas because the hcd lacks streams

So that an user who wants to use uas can see why he is not getting uas.

Also move the check down so that we don't warn if there are other reasons
why uas cannot work.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas-detect.h