diff --git a/Changelog.md b/Changelog.md index 87012523aff..c352f79e2a0 100644 --- a/Changelog.md +++ b/Changelog.md @@ -6,6 +6,7 @@ OpenCore Changelog - Removed `--` prefix from OpenNetworkBoot arguments (modify driver arguments if using this driver) - Updated `Unload` option to unload drivers in reverse of the order in which they were loaded - Fixed `MSR_IA32_TSC_ADJUST` access on unsupported CPUs (e.g. Virtualization.framework), thx @t0rr3sp3dr0 +- Downgraded WARN log level to INFO for ALREADY_STARTED in AudioDxe (restores ability to include DEBUG_WARN in HaltLevel if required when using this driver) #### v1.0.3 - Fixed support for `AMD_CPU_EXT_FAMILY_1AH`, thx @Shaneee diff --git a/Staging/AudioDxe/HdaController/HdaController.c b/Staging/AudioDxe/HdaController/HdaController.c index 2e26cc924ef..6471f85e343 100644 --- a/Staging/AudioDxe/HdaController/HdaController.c +++ b/Staging/AudioDxe/HdaController/HdaController.c @@ -1096,6 +1096,13 @@ HdaControllerDriverBindingStart ( OpenMode ); + if ( (OpenMode == EFI_OPEN_PROTOCOL_BY_DRIVER) + && (Status == EFI_ALREADY_STARTED)) + { + DEBUG ((DEBUG_INFO, "HDA: %a%a - %r\n", "Open PCI I/O protocol", "", Status)); + return Status; + } + if (EFI_ERROR (Status)) { if ( PcdGetBool (PcdAudioControllerTryProtocolGetMode) && (Status == EFI_ACCESS_DENIED) @@ -1112,7 +1119,7 @@ HdaControllerDriverBindingStart ( continue; } - DEBUG ((DEBUG_WARN, "HDA: Open PCI I/O protocol (try DisconnectHda quirk?) - %r\n", Status)); + DEBUG ((DEBUG_WARN, "HDA: %a%a - %r\n", "Open PCI I/O protocol", " (try DisconnectHda quirk?)", Status)); return Status; } } while (EFI_ERROR (Status));