]> git.itanic.dy.fi Git - linux-stable/commit
uas: Log a warning when we cannot use uas because the hcd lacks streams
authorHans de Goede <hdegoede@redhat.com>
Fri, 25 Jul 2014 20:01:27 +0000 (22:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Oct 2014 19:23:49 +0000 (12:23 -0700)
commitd751f8815f9ada8fb6d0b3ca54fcde2a61b5b950
tree085f650d9d277ba97b540f01745e13aa261ad1e7
parentd9d4dc60d6a31906483d620a2ce0552f7a921df9
uas: Log a warning when we cannot use uas because the hcd lacks streams

commit 43508be512661c905d0320ee73e0b65ef36d2459 upstream.

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