commit | 976b32326a67d94ffe1655980814630a23490ae3 | [log] [tgz] |
---|---|---|
author | Vincent Palatin <vpalatin@chromium.org> | Wed Dec 12 17:55:29 2012 -0800 |
committer | Marek Vasut <marex@denx.de> | Mon Dec 17 15:38:15 2012 +0100 |
tree | 9c20381ef2e51866360af00489c968a1b3c2b026 | |
parent | ebb2478b707642b4839c7a5d41e0569cb2956b80 [diff] |
usb: properly detect empty mass storage media reader When a USB card reader is empty, it will return "Not Ready - medium not present" as Key Code Qualifier. In that situation, it's useless waiting for the full timeout since the result won't change until the user inserts a card. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>