]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: gadget: Document that certain ep operations can be called in interrupt context
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 29 Jun 2018 17:52:20 +0000 (13:52 -0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 26 Jul 2018 10:53:52 +0000 (13:53 +0300)
commitbf594c1070f5c34a2576a725eef69cba2686b98d
treeca9f4049fbac501035e760f6572c105448404dad
parentad22a6663c6312825876fed25fd6d010d4b46db1
USB: gadget: Document that certain ep operations can be called in interrupt context

This documentation patch specifies that certain USB gadget endpoint
operations may be called in interrupt context:

usb_ep_queue, usb_ep_dequeue, usb_ep_set_halt,
usb_ep_clear_halt, usb_ep_set_wedge, usb_ep_fifo_status,
and usb_ep_fifo_flush;

while others must be called in process context:

usb_ep_enable and usb_ep_disable.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/core.c