summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorJerzy Kasenberg <[email protected]>2024-02-12 16:12:32 +0100
committerJerzy Kasenberg <[email protected]>2024-02-12 16:17:44 +0100
commit68bb85840639b2a3d8c4ad51e31245bd039e5b9f (patch)
treee12d5aa33964df3543eb7f6bfd9ce977af87ed39 /src/class
parentb60d0ff1d4f1db0e3caeb26895e73e749206023a (diff)
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.
Diffstat (limited to 'src/class')
0 files changed, 0 insertions, 0 deletions