Skip to content
Commit b3e80c5f authored by Tomasz Moń's avatar Tomasz Moń Committed by Benjamin Cabé
Browse files

usb: device_next: uac2: Do not leak double buffered endpoint



UDC drivers use udc_buf_get_all() when dequeueing endpoint. On drivers
that require double buffering for isochronous IN endpoint, the dequeue
on interface disable will result in class request API called on net_buf
with frags set. Call release callback on the buffer pointed in frags
because it was passed in using usbd_uac2_send().

Signed-off-by: default avatarTomasz Moń <tomasz.mon@nordicsemi.no>
parent 15cf0c51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment