Commits

Peter Chen committed cdda9d08215
MLK-17261-1 usb: cdns3: gadget: fix the spinlock recursion problem when detach cable The __cdns3_gadget_stop holds spinlock before calling usb_ss->gadget_driver->disconnect which calls ep_disable, and ep_disable tries to hold spinlock too. To fix it, let spinlock only protect the variable and register access. Acked-by: Jun Li <jun.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>