Merge tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[~shefty/rdma-dev.git] / drivers / usb / gadget / atmel_usba_udc.c
index ce9dffb0515da0e571ddb4371c4ad226e7108354..9f98508966d10dd70202c7d7769451fef3e4d90d 100644 (file)
@@ -659,6 +659,7 @@ static int usba_ep_disable(struct usb_ep *_ep)
                return -EINVAL;
        }
        ep->desc = NULL;
+       ep->ep.desc = NULL;
 
        list_splice_init(&ep->queue, &req_list);
        if (ep->can_dma) {