diff options
author | CoolStar <coolstarorganization@gmail.com> | 2023-08-24 02:00:50 -0700 |
---|---|---|
committer | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-11-16 22:18:25 +0000 |
commit | 42be899b6501cb8aa93329a2143a35765f0c4dd8 (patch) | |
tree | bb5a0b1985a0e544a81ab8cad2eaed2b9ee06693 /src/ec | |
parent | 31327d8b4bc74cc24e2773f3d59fb50cd02109ef (diff) |
acpi/device: Only return dev->ops->acpi_name if non-NULL
Returning a NULL device name can cause issues if something else does
handle it.
E.g. UART and GNA devices on Intel Alder Lake-N cause
INTERNAL_POWER_ERROR BSOD's in Windows when enabled due to invalid
packages being created from a NULL name
Test: build/boot google/nissa (craaskvin) to Win11
Change-Id: I0679147ad3e330d706bbf97c30bc11b2432e2e8a
Signed-off-by: CoolStar <coolstarorganization@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77413
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/ec')
0 files changed, 0 insertions, 0 deletions