usb: dwc3: move synchronize_irq() out of the spinlock protected
block
dwc3_gadget_suspend() is called under dwc->lock spinlock. In
such context calling synchronize_irq() is not allowed. Move the
problematic call out of the protected block.
Fixes: 01c10880d242 ("usb: dwc3: gadget: synchronize_irq dwc irq in
suspend")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Bug: 118693272
Change-Id: I6aaaa86b1b90e4346bd885135049823882c781cb
Signed-off-by: Leonid Lobachev <leonidl@google.com>
(cherry picked from commit f96d53643694e141c51f320957d8f219498c2e8f)
2 files changed