commit | 55168470835688e5da5828cdcf1b1498d7baadb1 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Sep 11 10:45:12 2017 +0300 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Sep 18 13:30:30 2017 +0300 |
tree | 99db634867dcdabcfaed22789bdee863ec06d0b2 | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e [diff] |
usb: dwc3: ep0: fix DMA starvation by assigning req->trb on ep0 If we don't assign a TRB to ep0 requests, we won't be able to unmap the request later on resulting in starvation of DMA resources. Fixes: 4a71fcb8ac5f ("usb: dwc3: gadget: only unmap requests from DMA if mapped") Reported-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Tested-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>