IntelFrameworkModulePkg/IdeBusDxe: Add error check on the return status of invoking AtaSoftReset().

Signed-off-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13647 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
erictian 2012-08-20 02:17:49 +00:00
parent be02dcee3a
commit ca89ab9ce8
1 changed files with 1 additions and 1 deletions

View File

@ -1473,7 +1473,7 @@ ClearInterrupt (
// Reset IDE device to force it de-assert interrupt pin
// Note: this will reset all devices on this IDE channel
//
AtaSoftReset (IdeDev);
Status = AtaSoftReset (IdeDev);
if (EFI_ERROR (Status)) {
return;
}