summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/usb/usbhost.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-12-21 15:57:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-12-21 15:57:40 +0000
commit3995bad80fedbebd70dc3864d99e93823a744b2e (patch)
tree3ce1709919fc0183fbc5caa9ae4969fdcdcaee18 /nuttx/include/nuttx/usb/usbhost.h
parent3372fb6c418281542c00acc69d3a28fbcb135cd1 (diff)
downloadnuttx-3995bad80fedbebd70dc3864d99e93823a744b2e.tar.gz
nuttx-3995bad80fedbebd70dc3864d99e93823a744b2e.tar.bz2
nuttx-3995bad80fedbebd70dc3864d99e93823a744b2e.zip
misc resource utilization fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3212 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/nuttx/usb/usbhost.h')
-rw-r--r--nuttx/include/nuttx/usb/usbhost.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/nuttx/include/nuttx/usb/usbhost.h b/nuttx/include/nuttx/usb/usbhost.h
index 8a7457bbd..fc4d6ad55 100644
--- a/nuttx/include/nuttx/usb/usbhost.h
+++ b/nuttx/include/nuttx/usb/usbhost.h
@@ -263,12 +263,14 @@
* Input Parameters:
* drvr - The USB host driver instance obtained as a parameter from the call to
* the class create() method.
- * req - Describes the request to be sent. This data will be copied from the
- * user provided memory. Therefore, the req buffer may be declared on the
- * stack.
+ * req - Describes the request to be sent. This request must lie in memory
+ * created by DRVR_ALLOC.
* buffer - A buffer used for sending the request and for returning any
* responses. This buffer must be large enough to hold the length value
- * in the request description. buffer must have been allocated using DRVR_ALLOC
+ * in the request description. buffer must have been allocated using DRVR_ALLOC.
+ *
+ * NOTE: On an IN transaction, req and buffer may refer to the same allocated
+ * memory.
*
* Returned Values:
* On success, zero (OK) is returned. On a failure, a negated errno value is