[PATCH 0/3] usb: gadget: Fix issues when using f_acm with ci_udc

Stephan Gerhold stephan.gerhold at linaro.org
Mon Apr 7 16:59:34 CEST 2025


The ACM console does not work properly with ci_udc, it crashes immediately
when setting it up, because usb_ep_disable() is called on an USB endpoint
that was never enabled before. There are also some other issues in f_acm
where state is not correctly claimed or cleaned up.

Signed-off-by: Stephan Gerhold <stephan.gerhold at linaro.org>
---
Stephan Gerhold (3):
      usb: gadget: f_acm: Claim requested USB endpoints
      usb: gadget: f_acm: Allow restarting ACM console after stopping it
      usb: gadget: introduce 'enabled' flag in struct usb_ep

 drivers/usb/gadget/f_acm.c |  4 ++++
 include/linux/usb/gadget.h | 27 +++++++++++++++++++++++++--
 2 files changed, 29 insertions(+), 2 deletions(-)
---
base-commit: 0efe8ea57fc7a1a6fc5f64fb3cf6bc4a1a4fc219
change-id: 20250407-acm-fixes-935a27c7a2b5

Best regards,
-- 
Stephan Gerhold <stephan.gerhold at linaro.org>



More information about the U-Boot mailing list