diff options
| author | hathach <[email protected]> | 2026-06-19 21:00:01 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-06-19 21:00:01 +0700 |
| commit | ab7888bc8f02226afbba662c7b7fcf265faa17a3 (patch) | |
| tree | a90941336fa3adf8c7e3495b7aab108031df2594 /docs/_static/custom.css | |
| parent | 3c54098801b1f32cd699b7a64a6a5bf4724ba088 (diff) | |
video: assert usbd_edpt_iso_activate() result in _open_vs_itf()
The isochronous streaming endpoint was activated with the
usbd_edpt_iso_activate() return value ignored, unlike every neighbouring
open in the same function (usbd_edpt_open() is wrapped in TU_ASSERT on both
the non-ISO-alloc fallback and the bulk branch).
When a DCD refuses the iso endpoint -- e.g. it has no isochronous support, or
the requested packet size does not fit its endpoint buffers -- that failure
was silently swallowed and the alternate setting was reported as opened,
leaving the host streaming to an endpoint the device never armed.
Wrap it in TU_ASSERT so the open fails cleanly and the refusal propagates,
matching the adjacent endpoint-open calls.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'docs/_static/custom.css')
0 files changed, 0 insertions, 0 deletions
