diff options
author | Stephen Warren | 2015-03-23 23:01:01 -0600 |
---|---|---|
committer | Marek Vasut | 2015-04-14 05:47:59 +0200 |
commit | fc909c0563da20f3a564aa598dbe5966defabdcc (patch) | |
tree | 7a5070cc5a8f2f8057e0e9b319e0a633a57c152c /drivers/Kconfig | |
parent | 805b67e1ea9a733f8fd526989b154648aca8afb6 (diff) |
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>
Diffstat (limited to 'drivers/Kconfig')
0 files changed, 0 insertions, 0 deletions