Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 487d60cc authored by Peter Chen's avatar Peter Chen Committed by Felipe Balbi
Browse files

usb: gadget: mv_udc_core: delete pullup operation at .udc_start



UDC core has already done it after .udc_start.

Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 14d19d9f
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -1378,9 +1378,6 @@ static int mv_udc_start(struct usb_gadget *gadget,
		}
		}
	}
	}


	/* pullup is always on */
	mv_udc_pullup(&udc->gadget, 1);

	/* When boot with cable attached, there will be no vbus irq occurred */
	/* When boot with cable attached, there will be no vbus irq occurred */
	if (udc->qwork)
	if (udc->qwork)
		queue_work(udc->qwork, &udc->vbus_work);
		queue_work(udc->qwork, &udc->vbus_work);