If DCD supports queuing of stall requests then USB MSC delay work-around is not necessary

This commit is contained in:
Gregory Nutt
2014-03-20 15:20:24 -06:00
parent f139391f8a
commit c6127ad09d
4 changed files with 30 additions and 0 deletions
+9
View File
@@ -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