summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-04-18 12:59:30 +0200
committerFelipe Balbi <balbi@ti.com>2012-04-19 11:40:08 +0200
commit15b120d67019d691e4389372967332d74a80522a (patch)
tree7a4d9492dc5c4a7de1090930e9b1e5d05773558f /drivers/usb
parentusb: musb: davinci.c: add missing unregister (diff)
downloadlinux-15b120d67019d691e4389372967332d74a80522a.tar.xz
linux-15b120d67019d691e4389372967332d74a80522a.zip
usb: gadget: dummy: do not call pullup() on udc_stop()
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: stable@vger.kernel.org Reviewed-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/dummy_hcd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/dummy_hcd.c b/drivers/usb/gadget/dummy_hcd.c
index a6dfd2164166..170cbe89d9f8 100644
--- 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;
}