From 6102636abc86d76eff84a933748f4f5a544f5744 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Thu, 31 Mar 2011 11:11:59 +0000 Subject: [PATCH] EmbeddedPkg/MmcDxe: Fix protocols uninstallation in Stop() function The EFI handle argument passed to disconnect the protocol was not correct. A pointer to this handle was passed as argument instead to be only the handle itself. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11464 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPkg/Universal/MmcDxe/Mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArmPkg/Universal/MmcDxe/Mmc.c b/ArmPkg/Universal/MmcDxe/Mmc.c index 90d1172ffa..9c67867aa3 100644 --- a/ArmPkg/Universal/MmcDxe/Mmc.c +++ b/ArmPkg/Universal/MmcDxe/Mmc.c @@ -155,9 +155,9 @@ EFI_STATUS DestroyMmcHostInstance( // Uninstall Protocol Interfaces Status = gBS->UninstallMultipleProtocolInterfaces( - &MmcHostInstance->MmcHandle, + MmcHostInstance->MmcHandle, &gEfiBlockIoProtocolGuid,&(MmcHostInstance->BlockIo), - &gEfiDevicePathProtocolGuid,&(MmcHostInstance->DevicePath), + &gEfiDevicePathProtocolGuid,MmcHostInstance->DevicePath, NULL ); ASSERT_EFI_ERROR (Status); -- 2.39.2