summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-24 22:16:09 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-24 22:16:09 +0000
commite1d2e02765b287c4a2966fa9e9e1cad7ea815bf8 (patch)
tree4504193e31c837a98e911a2bb7b8b121509179f9 /nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
parente55c8494b069f59b0c1380c50cf0993310085dae (diff)
downloadpx4-nuttx-e1d2e02765b287c4a2966fa9e9e1cad7ea815bf8.tar.gz
px4-nuttx-e1d2e02765b287c4a2966fa9e9e1cad7ea815bf8.tar.bz2
px4-nuttx-e1d2e02765b287c4a2966fa9e9e1cad7ea815bf8.zip
Update STM32 USB OTG FS host driver -- the driver is now marginally functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5051 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c')
-rw-r--r--nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
index 154b953b7..de880cac1 100644
--- a/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
+++ b/nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
@@ -2194,7 +2194,13 @@ static int lpc17_ctrlout(FAR struct usbhost_driver_s *drvr,
*
* Returned Values:
* On success, zero (OK) is returned. On a failure, a negated errno value is
- * returned indicating the nature of the failure
+ * returned indicating the nature of the failure:
+ *
+ * EAGAIN - If devices NAKs the transfer (or NYET or other error where
+ * it may be appropriate to restart the entire transaction).
+ * EPERM - If the endpoint stalls
+ * EIO - On a TX or data toggle error
+ * EPIPE - Overrun errors
*
* Assumptions:
* - Only a single class bound to a single device is supported.