usb: device_next: uac2: Write feedback as soon as possible
Queue explicit feedback write once the previous one finishes in order to make it possible to cope with 8x faster High-Speed pace. This matches the originally intended behavior described in comment. Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
This commit is contained in:
parent
2551ddca11
commit
d5aa42f93a
1 changed files with 2 additions and 0 deletions
|
|
@ -634,6 +634,8 @@ static int uac2_request(struct usbd_class_data *const c_data, struct net_buf *bu
|
|||
/* Reschedule the read or explicit feedback write */
|
||||
if (USB_EP_DIR_IS_OUT(ep)) {
|
||||
schedule_iso_out_read(c_data, ep, mps, terminal);
|
||||
} else if (is_feedback) {
|
||||
write_explicit_feedback(c_data, ep, cfg->as_terminals[as_idx]);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue