Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'v5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb into usb-linus

Peter writes:

Fixes one issue with dequeuing requests after disabling endpoint for cdnsp udc driver

* tag 'v5.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb:
usb: cdnsp: Fixes issue with dequeuing requests after disabling endpoint

+4
+4
drivers/usb/cdns3/cdnsp-gadget.c
··· 1128 1128 return -ESHUTDOWN; 1129 1129 } 1130 1130 1131 + /* Requests has been dequeued during disabling endpoint. */ 1132 + if (!(pep->ep_state & EP_ENABLED)) 1133 + return 0; 1134 + 1131 1135 spin_lock_irqsave(&pdev->lock, flags); 1132 1136 ret = cdnsp_ep_dequeue(pep, to_cdnsp_request(request)); 1133 1137 spin_unlock_irqrestore(&pdev->lock, flags);