diff options
| author | Felipe Balbi <balbi@ti.com> | 2015-12-02 10:06:45 -0600 |
|---|---|---|
| committer | Dmitry Shmidt <dimitrysh@google.com> | 2017-08-18 13:43:47 -0700 |
| commit | 9e6afd4e3684b5a6664349fc87c6b9fb48c375ae (patch) | |
| tree | 9f0ce455f0b3b71223610d4f68cb77bc26f8a7ad /tools/perf/scripts/python | |
| parent | 967ca302456550859bfea3cda9971a3035b6889f (diff) | |
BACKPORT: usb: dwc3: gadget: handle request->zero
So far, dwc3 has always missed request->zero
handling for every endpoint. Let's implement
that so we can handle cases where transfer must
be finished with a ZLP.
Note that dwc3 is a little special. Even though
we're dealing with a ZLP, we still need a buffer
of wMaxPacketSize bytes; to hide that detail from
every gadget driver, we have a preallocated buffer
of 1024 bytes (biggest bulk size) to use (and
share) among all endpoints.
(cherry-picked from commit
04c03d10e507052cfce6910ddf34091196e79e1c)
Reported-by: Ravi B <ravibabu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Bug: 63867169
Change-Id: Ied4093e92dd080f2d9dd1fd9aefb36406f66bb67
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
