Commit 42c1ecff authored by Peter Chen's avatar Peter Chen Committed by Felipe Balbi

usb: gadget: pxa27x_udc: delete pullup operation at .udc_start and .udc_stop

UDC core has already done it before .udc_stop and after .udc_start.
Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 67913bbd
...@@ -1809,7 +1809,6 @@ static int pxa27x_udc_start(struct usb_gadget *g, ...@@ -1809,7 +1809,6 @@ static int pxa27x_udc_start(struct usb_gadget *g,
/* first hook up the driver ... */ /* first hook up the driver ... */
udc->driver = driver; udc->driver = driver;
dplus_pullup(udc, 1);
if (!IS_ERR_OR_NULL(udc->transceiver)) { if (!IS_ERR_OR_NULL(udc->transceiver)) {
retval = otg_set_peripheral(udc->transceiver->otg, retval = otg_set_peripheral(udc->transceiver->otg,
...@@ -1862,7 +1861,6 @@ static int pxa27x_udc_stop(struct usb_gadget *g) ...@@ -1862,7 +1861,6 @@ static int pxa27x_udc_stop(struct usb_gadget *g)
stop_activity(udc, NULL); stop_activity(udc, NULL);
udc_disable(udc); udc_disable(udc);
dplus_pullup(udc, 0);
udc->driver = NULL; udc->driver = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment