commit | d9a97dcdf5c23f5a074e204e7a8fd355412146b8 | [log] [tgz] |
---|---|---|
author | Janusz Dziedzic <januszx.dziedzic@intel.com> | Mon Mar 13 14:11:32 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 12 12:41:15 2017 +0200 |
tree | af236a165f9ef416cfacbdbc122773924de58d5d | |
parent | ee670af5feede68f0ad22b329626594b8aebefc3 [diff] |
usb: dwc3: gadget: delay unmap of bounced requests commit de288e36fe33f7e06fa272bc8e2f85aa386d99aa upstream. In the case of bounced ep0 requests, we must delay DMA operation until after ->complete() otherwise we might overwrite contents of req->buf. This caused problems with RNDIS gadget. Signed-off-by: Janusz Dziedzic <januszx.dziedzic@intel.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>