]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: gadget: CDC ACM: call usb_gadget_initialize
authorCaleb Connolly <caleb.connolly@linaro.org>
Wed, 20 Mar 2024 14:30:49 +0000 (14:30 +0000)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Fri, 22 Mar 2024 09:16:13 +0000 (10:16 +0100)
commit341a172ef7867e3bfa90d6951997e5e2f168e188
treefe08a16263aae3240d5c8ad2a681976f361c6a5e
parent850b307789dca8dfff6d7cad57ba2ffbfbb5f6ed
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: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20240320-b4-qcom-usb-v4-3-41be480172e1@linaro.org
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
drivers/usb/gadget/f_acm.c