usb: dwc3: ep0: use immediate SETUP on TRB
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 7 Apr 2017 10:34:21 +0000 (13:34 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 11 Apr 2017 07:58:28 +0000 (10:58 +0300)
commit7d5e650a5fdb82ec1994497de174650767862a49
tree42a94e14351c6bc233b9041b8c392ff24360306d
parent374a1020d21b238d566e523a3bfd8fd9ee628c6b
usb: dwc3: ep0: use immediate SETUP on TRB

If we pass TRB's own address on bpl/bph fields, we can get our SETUP
packet as immediate data on the TRB itself, without having to allocate
extra memory for it.

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