]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc3: gadget: always kick if num_pending_sgs > 0
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 25 Oct 2016 10:54:00 +0000 (13:54 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:41 +0000 (10:38 +0200)
commitff377ae47de5c395ec47baabcde0f3011e71ae70
treeb6dc21966b5e091cfda0eb5a92325d1fbf75c9f6
parent7282c4ef0b66bb3b715ba8875e4e30392e77c7c1
usb: dwc3: gadget: always kick if num_pending_sgs > 0

When we get a half-way processed request, we should
make sure to try to prepare further TRBs for it or
for any possibly queued up request held in our
pending_list. This will make sure our controller is
kept busy for as long as possible.

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