Merge tag 'dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[profile/ivi/kernel-adaptation-intel-automotive.git] / drivers / usb / gadget / atmel_usba_udc.c
index ce9dffb..9f98508 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) {