usb: dwc3: gadget: use update transfer command
authorFelipe Balbi <balbi@ti.com>
Mon, 28 Sep 2015 19:49:02 +0000 (14:49 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 28 Sep 2015 20:19:31 +0000 (15:19 -0500)
commit6bb4fe12ea089da98b89dc2630d2273d60fe0c29
tree3365b3e8017a9d26e7fbcc14f9c8e32d17f948f5
parent8a1a9c9e4503f246b1d4339c5be3485e14c31858
usb: dwc3: gadget: use update transfer command

If we get a Xfer Not Ready event with reason
"Transfer Active" it means endpoint is still
transferring data and we can use that to issue
update transfer for this particular endpoint
in case we have pending requests in our queue.

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