diff options
author | Felipe Balbi <balbi@ti.com> | 2014-10-17 11:24:37 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-03 10:01:11 -0600 |
commit | d7343161fd1250a8c4eadf98a0db690f3257f0c5 (patch) | |
tree | 05654f3667dd3aa489d6341d4062ce2a07fc95b1 /drivers/usb/gadget/udc/pxa25x_udc.c | |
parent | bfd0ed576dbf9cc71af7dbe42841fc9246524961 (diff) | |
download | op-kernel-dev-d7343161fd1250a8c4eadf98a0db690f3257f0c5.zip op-kernel-dev-d7343161fd1250a8c4eadf98a0db690f3257f0c5.tar.gz |
usb: gadget: udc: pxa25x: do not rely on 'driver' argument
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>
Diffstat (limited to 'drivers/usb/gadget/udc/pxa25x_udc.c')
-rw-r--r-- | drivers/usb/gadget/udc/pxa25x_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/pxa25x_udc.c b/drivers/usb/gadget/udc/pxa25x_udc.c index 42f7eeb..098fa57 100644 --- 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)) |