diff options
author | Feng Tian <feng.tian@intel.com> | 2016-07-19 13:56:03 +0800 |
---|---|---|
committer | Feng Tian <feng.tian@intel.com> | 2016-08-03 09:52:19 +0800 |
commit | 17f3e942bc527fbd75068d2d5752b6af54917487 (patch) | |
tree | 86c7bc4ed8d73577045431467397deecc8d64fd6 /ArmPkg/Library | |
parent | fda951df682790693384380b7e995c86e451606c (diff) | |
download | edk2-platforms-17f3e942bc527fbd75068d2d5752b6af54917487.tar.xz |
MdeModulePkg/UsbMass: Not retry if usb bot transfer execution fail
The retry mechanism will bring issue if the usb device is unplugged
from XHCI HC but s/w is trying to access it through BlockIo. The
current cmd will get device error return status, but the sequential
cmds will be timeout. This behavior will cause system unresponsive
for a long while and bring bad user experience.
So we break the retry loop if found device error.
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'ArmPkg/Library')
0 files changed, 0 insertions, 0 deletions