On Fri, May 29, 2020 at 3:33 PM Minas Harutyunyan <Minas.Harutyunyan@xxxxxxxxxxxx> wrote: > So, can we conclude on this solution? > > dwc2_disable_global_interrupts(hsotg); > synchronize_irq(hsotg->irq) That solution is fine with me. Disabling the dwc2 interrupt sources in initialization before the handlers are registered is also worth doing, but it doesn't have to be in the same patch. -- Frank