diff options
author | Feng Tian <feng.tian@intel.com> | 2016-10-31 13:20:05 +0800 |
---|---|---|
committer | Feng Tian <feng.tian@intel.com> | 2016-11-01 09:17:47 +0800 |
commit | 90d6dfb9871bcf7e73b8884b1c1b1fc0029fcb2e (patch) | |
tree | 43ee7d9bdbe91bbaf275696de3ecb69d25cc275a /MdeModulePkg | |
parent | a7b3f90f8a081d90bc4287990e53f367228d53b2 (diff) | |
download | edk2-90d6dfb9871bcf7e73b8884b1c1b1fc0029fcb2e.tar.gz edk2-90d6dfb9871bcf7e73b8884b1c1b1fc0029fcb2e.tar.bz2 edk2-90d6dfb9871bcf7e73b8884b1c1b1fc0029fcb2e.zip |
MdeModulePkg/Xhci: Change short packet debug message to verbose level
Short Packet case is a normal case, we shouldn't print it as an error
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c index b6078b1f09..e37f674760 100644 --- a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c +++ b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c @@ -1167,7 +1167,7 @@ XhcCheckUrbResult ( case TRB_COMPLETION_SHORT_PACKET:
case TRB_COMPLETION_SUCCESS:
if (EvtTrb->Completecode == TRB_COMPLETION_SHORT_PACKET) {
- DEBUG ((EFI_D_ERROR, "XhcCheckUrbResult: short packet happens!\n"));
+ DEBUG ((EFI_D_VERBOSE, "XhcCheckUrbResult: short packet happens!\n"));
}
TRBType = (UINT8) (TRBPtr->Type);
diff --git a/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c b/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c index 3632e8a769..7f554f5710 100644 --- a/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c +++ b/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c @@ -683,7 +683,7 @@ XhcPeiCheckUrbResult ( case TRB_COMPLETION_SHORT_PACKET:
case TRB_COMPLETION_SUCCESS:
if (EvtTrb->Completecode == TRB_COMPLETION_SHORT_PACKET) {
- DEBUG ((EFI_D_ERROR, "XhcPeiCheckUrbResult: short packet happens!\n"));
+ DEBUG ((EFI_D_VERBOSE, "XhcPeiCheckUrbResult: short packet happens!\n"));
}
TRBType = (UINT8) (TRBPtr->Type);
|