usb: device_next: remove workaround for the UDC enqueue bug
Remove workaround for the UDC enqueue bug in experimental
CDC ACM implementation.
@@ -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}
