> > On Fri, Aug 07, 2020 at 05:41:46PM +0800, Peter Chen wrote: > > From: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> > > > > The routines used by the UDC core to interface with the kernel's > > device model, namely usb_add_gadget_udc(), > > usb_add_gadget_udc_release(), and usb_del_gadget_udc(), provide access > > to only a subset of the device model's full API. They include > > functionality equivalent to device_register() and device_unregister() > > for gadgets, but they omit device_initialize(), device_add(), > > device_del(), get_device(), and put_device(). > > > > This patch expands the UDC API by adding usb_initialize_gadget(), > > usb_add_gadget(), usb_del_gadget(), usb_get_gadget(), and > > usb_put_gadget() to fill in the gap. It rewrites the existing > > routines to call the new ones. > > > > CC: Anton Vasilyev <vasilyev@xxxxxxxxx> > > CC: Evgeny Novikov <novikov@xxxxxxxxx> > > CC: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> > > Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> > > You can not forward on patches from someone else without also signing off on > them. > So, even without contribution for the patch, we also need to add signing off when submit? Peter