projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42c1ecf
)
usb: gadget: pxa27x_udc: delete pullup operation at .udc_start and .udc_stop
author
Peter Chen
<peter.chen@freescale.com>
Mon, 12 Jan 2015 08:37:56 +0000
(16:37 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 12 Jan 2015 18:24:22 +0000
(12:24 -0600)
UDC core has already done it before .udc_stop and after .udc_start.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/pxa25x_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/udc/pxa25x_udc.c
b/drivers/usb/gadget/udc/pxa25x_udc.c
index 8550b2d5db32f539619660d9d90f454c26703e04..f6cbe667ce398a88ed0e103e2c1b1240375a8ab9 100644
(file)
--- a/
drivers/usb/gadget/udc/pxa25x_udc.c
+++ b/
drivers/usb/gadget/udc/pxa25x_udc.c
@@
-1272,7
+1272,6
@@
static int pxa25x_udc_start(struct usb_gadget *g,
goto bind_fail;
}
- pullup(dev);
dump_state(dev);
return 0;
bind_fail:
@@
-1339,7
+1338,6
@@
static int pxa25x_udc_stop(struct usb_gadget*g)
local_irq_disable();
dev->pullup = 0;
- pullup(dev);
stop_activity(dev, NULL);
local_irq_enable();