Commit 14d19d9f 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 42c1ecff
...@@ -1272,7 +1272,6 @@ static int pxa25x_udc_start(struct usb_gadget *g, ...@@ -1272,7 +1272,6 @@ static int pxa25x_udc_start(struct usb_gadget *g,
goto bind_fail; goto bind_fail;
} }
pullup(dev);
dump_state(dev); dump_state(dev);
return 0; return 0;
bind_fail: bind_fail:
...@@ -1339,7 +1338,6 @@ static int pxa25x_udc_stop(struct usb_gadget*g) ...@@ -1339,7 +1338,6 @@ static int pxa25x_udc_stop(struct usb_gadget*g)
local_irq_disable(); local_irq_disable();
dev->pullup = 0; dev->pullup = 0;
pullup(dev);
stop_activity(dev, NULL); stop_activity(dev, NULL);
local_irq_enable(); local_irq_enable();
......
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