Re: [PATCH 3/5] usb: gadget: CDC ACM: call usb_gadget_initialize

2024-02-01 Thread Mattijs Korpershoek
Hi Caleb, Thank you for the patch. On mer., janv. 31, 2024 at 14:57, Caleb Connolly wrote: > To actually use the gadget the peripheral driver must be probed and we > must call g_dnl_clear_detach(). Otherwise acm_stdio_start() will always > fail to find a UDC on DT platforms. > >

[PATCH 3/5] usb: gadget: CDC ACM: call usb_gadget_initialize

2024-01-31 Thread Caleb Connolly
To actually use the gadget the peripheral driver must be probed and we must call g_dnl_clear_detach(). Otherwise acm_stdio_start() will always fail to find a UDC on DT platforms. Signed-off-by: Caleb Connolly --- drivers/usb/gadget/f_acm.c | 9 + 1 file changed, 9 insertions(+) diff