-
- /*
- * Isochronous transfers are expected to fail sometimes. As an
- * arbitrary limit, we will report an error if any submissions
- * fail or if the transfer failure rate is > 10%.
- */
- if (status != 0)
- ;
- else if (context.submit_error)
- status = -EACCES;
- else if (context.errors > context.packet_count / 10)
- status = -EIO;
- return status;