On Tue, Apr 11, 2017 at 10:28:15AM +0300, Felipe Balbi wrote: > From: Janusz Dziedzic <januszx.dziedzic@xxxxxxxxx> > > 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. > > Cc: <stable@xxxxxxxxxxxxxxx> # v4.4 v4.9 > Fixes: d62145929992 ("usb: dwc3: gadget: always unmap EP0 requests") > Signed-off-by: Janusz Dziedzic <januszx.dziedzic@xxxxxxxxx> > Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx> > --- > > this should apply cleanly to today's v4.4-stable. Thanks Thanks for the backport, now applied. greg k-h