Skip to content
Snippets Groups Projects
Commit 8b57e2f0 authored by Vincent Palatin's avatar Vincent Palatin Committed by Marek Vasut
Browse files

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: default avatarVincent Palatin <vpalatin@chromium.org>
Signed-off-by: default avatarVadim Bendebury <vbendeb@chromium.org>
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 359439d2
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment