diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2012-12-13 01:55:29 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2012-12-17 14:38:15 (GMT) |
commit | 8b57e2f0814a2fd9aed1fa09d8279eaf90764560 (patch) | |
tree | 9c20381ef2e51866360af00489c968a1b3c2b026 /lib/lmb.c | |
parent | 359439d2888fdc3797903963607bb0bbd4582e08 (diff) | |
download | u-boot-fsl-qoriq-8b57e2f0814a2fd9aed1fa09d8279eaf90764560.tar.xz |
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>
Diffstat (limited to 'lib/lmb.c')
0 files changed, 0 insertions, 0 deletions