]> git.karo-electronics.de Git - linux-beck.git/commit
uas: Fix uas not working when plugged into an ehci port
authorHans de Goede <hdegoede@redhat.com>
Thu, 17 Oct 2013 20:20:54 +0000 (22:20 +0200)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 4 Mar 2014 23:38:09 +0000 (15:38 -0800)
commit6c2334e9019039d7952190e239e6a8f0d10101fe
tree07a353c0a28956d71f3d83072d568dfc59782995
parenta887cd366347c38607f0d9c28ca2baed40cac8fc
uas: Fix uas not working when plugged into an ehci port

I thought it would be a good idea to also test uas with usb-2, and it turns out
it was, as it did not work. The problem is that the uas driver was passing the
bEndpointAddress' direction bit to usb_rcvbulkpipe, the xhci code seems to not
care about this, but with the ehci code this causes usb_submit_urb failure.

With this fixed the uas code works nicely with an uas device plugged into
an ehci port.

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