]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc3: gadget: only interrupt on short if short_not_ok is set
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 5 Oct 2016 11:26:23 +0000 (14:26 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:32 +0000 (10:38 +0200)
commitc9508c8c50f9ec6fc3e7e823f35c76fafba7e929
treeb0c7607369d5122eff1ccd638e19bb5cbbcb7b20
parent58f29034b4c47b202f76de055f843316c8a9325f
usb: dwc3: gadget: only interrupt on short if short_not_ok is set

We don't need to know about short packets unless
gadget driver told us it's not ok to see them on the
bus. In the normal situation we can continue
processing the list of requests if we get a Short
packet.

Also, note that we're making sure ISP is only set
for OUT endpoints, where that setting is valid.

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