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:
d734316
)
usb: gadget: udc: pxa27x: do not rely on 'driver' argument
author
Felipe Balbi
<balbi@ti.com>
Fri, 17 Oct 2014 16:25:04 +0000
(11:25 -0500)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 3 Nov 2014 16:01:11 +0000
(10:01 -0600)
future patches will remove the extra 'driver'
argument to ->udc_stop(), in order to do that,
we must make sure that our UDC does not rely
on it first.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/pxa27x_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/udc/pxa27x_udc.c
b/drivers/usb/gadget/udc/pxa27x_udc.c
index 55598c0d083c9c72c36d8d4b1b5da6ad01ebec93..b90b1f308992c86b0b1940fa27d176d0aef472f5 100644
(file)
--- a/
drivers/usb/gadget/udc/pxa27x_udc.c
+++ b/
drivers/usb/gadget/udc/pxa27x_udc.c
@@
-1862,7
+1862,7
@@
static int pxa27x_udc_stop(struct usb_gadget *g,
{
struct pxa_udc *udc = to_pxa(g);
- stop_activity(udc,
driver
);
+ stop_activity(udc,
NULL
);
udc_disable(udc);
dplus_pullup(udc, 0);