Commit fe8f103a authored by Fabian Vogt's avatar Fabian Vogt Committed by Greg Kroah-Hartman
Browse files

fotg210-udc: Call usb_gadget_udc_reset

parent 9aee3a23
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -876,6 +876,8 @@ static irqreturn_t fotg210_irq(int irq, void *_fotg210)
		int_grp2 &= ~int_msk2;

		if (int_grp2 & DISGR2_USBRST_INT) {
			usb_gadget_udc_reset(&fotg210->gadget,
					     fotg210->driver);
			value = ioread32(reg);
			value &= ~DISGR2_USBRST_INT;
			iowrite32(value, reg);