projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfd0ed5
)
usb: gadget: udc: pxa25x: do not rely on 'driver' argument
author
Felipe Balbi
<balbi@ti.com>
Fri, 17 Oct 2014 16:24:37 +0000
(11:24 -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/pxa25x_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/udc/pxa25x_udc.c
b/drivers/usb/gadget/udc/pxa25x_udc.c
index 42f7eeb8ff6f919395a29574f26549f4e437550a..098fa57c3b80a3cf01fec82816d5695acc364dbd 100644
(file)
--- a/
drivers/usb/gadget/udc/pxa25x_udc.c
+++ b/
drivers/usb/gadget/udc/pxa25x_udc.c
@@
-1319,7
+1319,7
@@
static int pxa25x_udc_stop(struct usb_gadget*g,
local_irq_disable();
dev->pullup = 0;
pullup(dev);
- stop_activity(dev,
driver
);
+ stop_activity(dev,
NULL
);
local_irq_enable();
if (!IS_ERR_OR_NULL(dev->transceiver))