usb: dwc3: gadget: avoid memcpy()ing event buffer
authorFelipe Balbi <balbi@ti.com>
Mon, 6 Feb 2012 11:40:17 +0000 (13:40 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 6 Feb 2012 11:40:17 +0000 (13:40 +0200)
commitd70d84423cbc5d6d929640189cf204e693024309
tree0b237104ae511f4f4650d7d49bd4ca87d3d7ba31
parent8b5d6b0a4353d0e3517947f894be215750d681bb
usb: dwc3: gadget: avoid memcpy()ing event buffer

We're only using the 4 byte events and memcpy()
will make us slower. We can easily avoid that.

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