patch "usb: gadget: udc: core: update usb_ep_queue() documentation" added to usb-testing
Subsystems (2)
This is a note to let you know that I've just added the patch titled
usb: gadget: udc: core: update usb_ep_queue() documentation
to my usb git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
in the usb-testing branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will be merged to the usb-next branch sometime soon, after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
Quoted 1 line
From
eaa358c7790338d83bb6a31258bdc077de120414Mon Sep 17 00:00:00 2001
From: Felipe Balbi <[email protected]>
Date: Mon, 26 Mar 2018 13:14:46 +0300
Subject: usb: gadget: udc: core: update usb_ep_queue() documentation
Mention that ->complete() should never be called from within usb_ep_queue().
--- drivers/usb/gadget/udc/core.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/usb/gadget/udc/core.c +3 -0
@@ -238,6 +238,9 @@ EXPORT_SYMBOL_GPL(usb_ep_free_request);* arranges to poll once per interval, and the gadget driver usually will * have queued some data to transfer at that time. * +* Note that @req's ->complete() callback must never be called from +* within usb_ep_queue() as that can create deadlock situations. +* * Returns zero, or a negative error code. Endpoints that are not enabled * report errors; errors will also be * reported when the usb peripheral is disconnected.
Signature · 1 line
2.16.2