diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2018-03-27 17:27:06 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-04-23 14:07:36 +0300 |
commit | 5d1332a8eabd8bd5b8c322d45542968ee6f113be (patch) | |
tree | dc27ad27ef366abe6b355bd65a1ee5b131537106 /include/linux/usb | |
parent | 6d08b06e67cd117f6992c46611dfb4ce267cd71e (diff) | |
download | linux-5d1332a8eabd8bd5b8c322d45542968ee6f113be.tar.xz |
usb: gadget: udc: core: Document the relation between usb_ep_queue() and completion callback
Improve the kerneldoc for usb_ep_queue() to note explicitly that the
request's completion routine will be called if and only if the return
value is 0. The corresponding fact about usb_submit_urb() for the
host-side API has long been documented, and this has always been the
intention for the gadget API. But until now, documentation seems to
have been lacking.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'include/linux/usb')
0 files changed, 0 insertions, 0 deletions