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:
c67dd31
)
usb: gadget: dummy: do not call pullup() on udc_stop()
author
Felipe Balbi
<
[email protected]
>
Wed, 18 Apr 2012 10:59:30 +0000
(13:59 +0300)
committer
Felipe Balbi
<
[email protected]
>
Thu, 19 Apr 2012 09:40:08 +0000
(12:40 +0300)
pullup() is already called properly by udc-core.c and
there's no need to call it from udc_stop(), in fact that
will cause issues.
Cc:
[email protected]
Reviewed-by: Alexander Shishkin <
[email protected]
>
Acked-by: Alan Stern <
[email protected]
>
Signed-off-by: Felipe Balbi <
[email protected]
>
drivers/usb/gadget/dummy_hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/dummy_hcd.c
b/drivers/usb/gadget/dummy_hcd.c
index a6dfd21641661c08df7a524850ee6ccf670a4f3e..170cbe89d9f8ad47b9bb6ee54596521012c8de7f 100644
(file)
--- a/
drivers/usb/gadget/dummy_hcd.c
+++ b/
drivers/usb/gadget/dummy_hcd.c
@@
-927,7
+927,6
@@
static int dummy_udc_stop(struct usb_gadget *g,
dum->driver = NULL;
- dummy_pullup(&dum->gadget, 0);
return 0;
}