> int ret = dwc3_gadget_soft_disconnect(dwc); I'm not sure if the coding style in this line, where the declaration and assignment of a variable are combined, is considered good practice. The other parts look good to me. Thanks, Kuen-Han
> int ret = dwc3_gadget_soft_disconnect(dwc); I'm not sure if the coding style in this line, where the declaration and assignment of a variable are combined, is considered good practice. The other parts look good to me. Thanks, Kuen-Han