commit | 046839098c34f0ade17b7060e7385bd581151b3b | [log] [tgz] |
---|---|---|
author | Peter Chen <peter.chen@freescale.com> | Tue Sep 01 09:48:02 2015 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Sun Sep 27 10:54:31 2015 -0500 |
tree | 9e4004bfb33dfd1a52c5222d9ef2ac6cad49010e | |
parent | b9a6e8e1001e28fecbd74c073f5503dac2790563 [diff] |
usb: gadget: f_sourcesink: format data pattern according to max packet size Since the host and gadget can't agree with transfer length before each transfer, but they agree with max packet size for each endpoint, we use max packet size to format data pattern. Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>