usb: dwc3: gadget: halt and stop based HWO bit
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 30 May 2016 10:37:02 +0000 (13:37 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:32:50 +0000 (12:32 +0300)
commit69450c4dc164d9ecbc0b54cb47a2ec80cde45da4
tree6a3cddc7feed3cdc9b2c2052398f67f164f380ad
parent68d34c8a744d16ae449577a71c67b19a4b1100d0
usb: dwc3: gadget: halt and stop based HWO bit

Instead of relying on empty list of queued requests,
let's rely on the fact that we have a TRB being
processed right now.

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