Jerzy Kasenberg 68bb858406 nrf5x: Handle ISOOUT CRC errors
NRF5x USB controller can detect ISO OUT CRC errors.
In such case USBEVENT is signaled with EVENTCAUSE_ISOOUTCRC set.
Even if controller detects corrupted ISO OUT packet it allows
to data transfer from ednpoint to RAM however packet is corrupted
and code could just as well drop packet altogether.

With current implementation incoming ISO OUT packets were put in
FIFO and exact information how much data already in FIFO is correct
was hard to keep track of.
If was observed that on certain configurations HS hub when FS device
was connected occasionally sent invalid (short) packet. In such case
if packet length was reported odd audio stream was not recognizable any
more.

With this change corrupted packets are not passed to upper layers
and are silently dropped.
2024-02-12 16:17:44 +01:00
..
2024-01-12 16:05:35 +07:00
2023-11-23 17:53:17 +07:00
2024-02-12 16:17:44 +01:00
2023-06-14 11:07:58 +07:00
2024-01-16 17:25:44 +07:00