> > > > I think it should fix at legacy driver by call usb_gadget_check_config. > > Assume there are a UDC controller, which only 2 endpoint. g_cdc should > > get failure. > > > > commit dce49449e04f has broken legacy gadget drivers for CDNS3 UDC > and that should be fixed first. > > No other UDC drivers implement .check_config() yet. No implement is not explicit correct. CDNS3 just trigger this problem. > > UDC driver should start with a default sane configuration and work even if > usb_gadget_check_config() is not called by gadget driver. I am preparing a patches add usb_gadget_check_config() in legacy gadget driver. > > -- > cheers, > -roger