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
\r
// Uninstall Protocol Interfaces\r
Status = gBS->UninstallMultipleProtocolInterfaces(\r
\r
// Uninstall Protocol Interfaces\r
Status = gBS->UninstallMultipleProtocolInterfaces(\r
- &MmcHostInstance->MmcHandle,\r
+ MmcHostInstance->MmcHandle,\r
&gEfiBlockIoProtocolGuid,&(MmcHostInstance->BlockIo),\r
&gEfiBlockIoProtocolGuid,&(MmcHostInstance->BlockIo),\r
- &gEfiDevicePathProtocolGuid,&(MmcHostInstance->DevicePath),\r
+ &gEfiDevicePathProtocolGuid,MmcHostInstance->DevicePath,\r
NULL\r
);\r
ASSERT_EFI_ERROR (Status);\r
NULL\r
);\r
ASSERT_EFI_ERROR (Status);\r