u-boot-brain/drivers/usb
Stephen Warren fc909c0563 usb: dwc2: fix bulk transfers
When I created wait_for_chhltd(), I noticed that some instances of the
code it replaced expected the ACK bit to be set and others didn't. I
assumed this was an accidental inconsistency in the code, so wrote
wait_for_chhltd() to always expect ACK to be set. This code appeared to
work correctly for both enumeration of USB keyboards and operation of
USB Ethernet devices. However, this change broke USB Mass Storage (at
least my USB SD card reader). This change reverts to exactly the
original behaviour. I'm not sure why the ACK bit isn't always set
(perhaps a quirk in the USB HW or DWC2 controller), but the code works
this way!

Fixes: 5be4ca7d6ac8 ("usb: dwc2: unify waiting for transfer completion")
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
2015-04-14 05:47:59 +02:00
..
eth usb: eth: asix: Build warning fixes for 64-bit 2015-04-14 05:47:47 +02:00
gadget usb: mass-storage: Build warning fixes for 64-bit 2015-04-14 05:47:48 +02:00
host usb: dwc2: fix bulk transfers 2015-04-14 05:47:59 +02:00
musb include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
musb-new sunxi: musb: Fix some lo speed devices not working with musb host 2015-03-29 12:58:59 +02:00
phy usb: phy: omap_usb_phy: fix build breakage 2014-12-04 11:04:13 -05:00
ulpi drivers: usb: convert makefiles to Kbuild style 2013-10-31 13:25:38 -04:00
Kconfig usb: add basic USB configs in Kconfig 2014-11-12 00:21:18 +09:00