usb: device_next: remove workaround for the UDC enqueue bug

Remove workaround for the UDC enqueue bug in experimental
CDC ACM implementation.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2023-01-04 14:40:55 +01:00 committed by Carles Cufí
commit 98770caf2a

View file

@ -20,11 +20,9 @@ LOG_MODULE_REGISTER(usbd_cdc_acm, CONFIG_USBD_CDC_ACM_LOG_LEVEL);
/*
* FIXME: buffer count per device.
* FIXME: Due to a bug in UDC transfer processing the number of buffers
* is temporarily set to 1.
*/
NET_BUF_POOL_FIXED_DEFINE(cdc_acm_ep_pool,
1, 512,
2, 512,
sizeof(struct udc_buf_info), NULL);
#define CDC_ACM_DEFAULT_LINECODING {sys_cpu_to_le32(115200), 0, 0, 8}