]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc3: gadget: stop kicking if we run out of space
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 24 Aug 2016 11:38:10 +0000 (14:38 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 25 Aug 2016 09:13:21 +0000 (12:13 +0300)
commit594e121f25689baaf1c8c9b006701e66744d5838
tree6c5b445d2c102b4b27ff672f68a79acf6c81ee55
parent7ae7df4982af6aed25c5e9e71b91027a494149de
usb: dwc3: gadget: stop kicking if we run out of space

In case our TRB ring is full, we can avoid trying to
kick transfers which won't start and just add requests
to the queue.

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