diff options
| author | Saulo VerĂssimo <[email protected]> | 2026-04-21 20:42:24 -0300 |
|---|---|---|
| committer | Saulo VerĂssimo <[email protected]> | 2026-05-12 11:07:45 -0300 |
| commit | 0c68ca8c1de45e24ae022ab58934c6930bad7b4b (patch) | |
| tree | 42bdf4fffde56e1b61586205415d509d3fc4e744 /src/device | |
| parent | b4880761bcadbee86d047e0a3b329859926caad5 (diff) | |
midi2: align ep_buf allocation with other stream-based classes
Keep the MIDI 2.0 drivers fully self-contained, with no changes to
shared or generic stack code.
Allocate the per-endpoint buffer in both midi2_host and midi2_device,
following the convention used by cdc, midi, vendor, and printer.
The class buffer struct is declared unconditionally and passed to
tu_edpt_stream_init on every init, so the streaming helpers operate
on the same shape across all classes.
Diffstat (limited to 'src/device')
0 files changed, 0 insertions, 0 deletions
