summaryrefslogtreecommitdiff
path: root/common/cmd_led.c
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2012-12-13 01:55:29 (GMT)
committerMarek Vasut <marex@denx.de>2012-12-17 14:38:15 (GMT)
commit8b57e2f0814a2fd9aed1fa09d8279eaf90764560 (patch)
tree9c20381ef2e51866360af00489c968a1b3c2b026 /common/cmd_led.c
parent359439d2888fdc3797903963607bb0bbd4582e08 (diff)
downloadu-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 'common/cmd_led.c')
0 files changed, 0 insertions, 0 deletions