]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/usb/gadget/udc/pxa27x_udc.c
usb: gadget: udc: pxa27x: do not rely on 'driver' argument
[mirror_ubuntu-zesty-kernel.git] / drivers / usb / gadget / udc / pxa27x_udc.c
index 55598c0d083c9c72c36d8d4b1b5da6ad01ebec93..b90b1f308992c86b0b1940fa27d176d0aef472f5 100644 (file)
@@ -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);