Skip to content
Commit 341a172e authored by Caleb Connolly's avatar Caleb Connolly Committed by Mattijs Korpershoek
Browse files

usb: gadget: CDC ACM: call usb_gadget_initialize



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.

Reviewed-by: default avatarMattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: default avatarCaleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20240320-b4-qcom-usb-v4-3-41be480172e1@linaro.org


Signed-off-by: default avatarMattijs Korpershoek <mkorpershoek@baylibre.com>
parent 850b3077
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment