commit | ce3fc8b32994e16f69912c982823105aafead7a6 | [log] [tgz] |
---|---|---|
author | Janusz Dziedzic <januszx.dziedzic@linux.intel.com> | Wed Nov 09 11:01:32 2016 +0100 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri Nov 18 13:54:14 2016 +0200 |
tree | e60c196fd3dc368704769ece6c5f3f900f3d45be | |
parent | 8ab89da4c281873d58812db68cb42179904fc94b [diff] |
usb: dwc3: clean TRB if STARTTRANSFER fail In case STARTTRANSFER will fail, clean TRB. Seems HW in such case don't clean HWO bit. So, without this cleanup prev_trb still have HWO bit set. In my case (without patch), after first START failed: - dep->enqueue == 1 - dep->dequeue == 1 - prev_trb still have HWO set - left_trb() == 0 No way to send more data. Signed-off-by: Janusz Dziedzic <januszx.dziedzic@linux.intel.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>