USB MSC host class driver: Don't bother retrying to initialize the FLASH if the interface is returning fatal transfer errors

This commit is contained in:
Gregory Nutt
2013-09-09 10:00:16 -06:00
parent 40f84dfa19
commit a992004b0e
4 changed files with 20 additions and 2 deletions
+4
View File
@@ -5522,4 +5522,8 @@
(2013-9-6).
* drivers/usbdev/usbmsc_desc.c: Fix a warning when USB MSC is
compiled for a high-speed device (2013-9-7).
* drivers/usbhost/usbhost_storage.c: If device is returning fatal
transfer errors while attempt to initialize, don't bother with
the startup retries; abort immediately so that the device will
be reset and we can try again (2013-9-9).