diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-03-20 15:20:24 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-03-20 15:20:24 -0600 |
commit | ec7904d89eb37a7ccb0ef130f2089206f185ebe5 (patch) | |
tree | 9fbe4e4e850e86075cf8da3ae73480696bc65536 /nuttx/TODO | |
parent | 641ed1fd58895554a604c5314fff44330c9e9bf0 (diff) | |
download | nuttx-ec7904d89eb37a7ccb0ef130f2089206f185ebe5.tar.gz nuttx-ec7904d89eb37a7ccb0ef130f2089206f185ebe5.tar.bz2 nuttx-ec7904d89eb37a7ccb0ef130f2089206f185ebe5.zip |
If DCD supports queuing of stall requests then USB MSC delay work-around is not necessary
Diffstat (limited to 'nuttx/TODO')
-rw-r--r-- | nuttx/TODO | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/TODO b/nuttx/TODO index 84b6e8030..762e172d4 100644 --- a/nuttx/TODO +++ b/nuttx/TODO @@ -947,6 +947,15 @@ o USB (drivers/usbdev, drivers/usbhost) Description: There is a workaround for a bug in drivers/usbdev/usbdev_storage.c. that involves delays. This needs to be redesigned to eliminate these delays. See logic conditioned on CONFIG_USBMSC_RACEWAR. + + If queuing of stall requests is supported by DCD then this workaround + is not required. In this case, (1) the stall is not sent until all + write requests preceding the stall request are sent, (2) the stall is + sent, and then after the stall is cleared, (3) all write requests + queued after the stall are sent. + + See, for example, the queuing of pending stall requests in the SAM3/4 + UDP driver at arch/arm/src/sam34/sam_udp.c. Status: Open Priority: Medium |