mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcAudioLib: Fix previous commit
This commit is contained in:
parent
46d9b6ab1d
commit
080a8fc2d3
@ -586,7 +586,7 @@ OcAudioDump (
|
||||
);
|
||||
DEBUG ((DEBUG_INFO, "OCAU: %u HDA controllers installed - %r\n", (UINT32) HandleCount, Status));
|
||||
|
||||
if (Status == EFI_SUCCESS) {
|
||||
if (!EFI_ERROR (Status)) {
|
||||
for (Index = 0; Index < HandleCount; Index++) {
|
||||
Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiHdaControllerInfoProtocolGuid, (VOID **) &HdaControllerInfo);
|
||||
DEBUG ((DEBUG_INFO, "OCAU: HDA controller %u info open result - %r\n", Index, Status));
|
||||
@ -650,7 +650,7 @@ OcAudioDump (
|
||||
);
|
||||
DEBUG ((DEBUG_INFO, "OCAU: %u HDA codecs installed - %r\n", (UINT32) HandleCount, Status));
|
||||
|
||||
if (Status == EFI_SUCCESS) {
|
||||
if (!EFI_ERROR (Status)) {
|
||||
for (Index = 0; Index < HandleCount; Index++) {
|
||||
Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiHdaCodecInfoProtocolGuid, (VOID **) &HdaCodecInfo);
|
||||
DEBUG ((DEBUG_INFO, "OCAU: HDA codec %u info open result - %r\n", Index, Status));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user