mirror of https://github.com/acidanthera/audk.git
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:
parent
be02dcee3a
commit
ca89ab9ce8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue