]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce420a619d2271cf9bbe0c2cc2ae34b8f33ab06b
tree6a3cddc7feed3cdc9b2c2052398f67f164f380ad
parent936487c1e657bf67fdd0e34da01b70c3b9cacdcf
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