diff options
| author | Sekhar Nori <[email protected]> | 2017-05-17 13:45:17 +0530 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2017-05-17 14:13:05 +0300 |
| commit | 0db56e43359c47ff184ceaf8b04b664d997bff88 (patch) | |
| tree | 4a8d1bce07ac7c40102e599fb39612793a4e264f /tools/perf/scripts/python/bin | |
| parent | cdb55b39fab82b5d48c9a7aa0348268f07b993ed (diff) | |
usb: gadget: f_uac2: calculate wMaxPacketSize before endpoint match
Calculate wMaxPacketSize before endpoint matching the
descriptor is found.
This allows audio gadget to be used with controllers
which have a shortage or unavailability of endpoints
that can handle max packet size of 1023 (FS) or 1024
(HS).
With this audio gadget can be used on TI's OMAP-L138 SoC
which has a MUSB HS controller with endpoints having max
packet size much less than 1023 or 1024. See mode_2_cfg in
drivers/usb/musb/musb_core.c
Signed-off-by: Sekhar Nori <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions