usb: dwc3: gadget: stop processing on HWO set
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 10 Aug 2016 15:07:46 +0000 (18:07 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 11 Aug 2016 12:09:48 +0000 (15:09 +0300)
commita0ad85ae866f8a01f29a18ffa1e9b1aa8ca888bd
treeee4efab2878eedd8a9ef678999f2284a8599fa68
parent79d17482a4091056e128a5048e253f2ed53440cc
usb: dwc3: gadget: stop processing on HWO set

stop consuming TRBs when we reach one with HWO bit
already set. This will prevent us from prematurely
retiring a TRB.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c