summaryrefslogtreecommitdiff
path: root/src/drivers/intel/usb4
diff options
context:
space:
mode:
authorEric Lai <ericr_lai@compal.corp-partner.google.com>2022-01-22 14:06:54 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-01-27 22:05:52 +0000
commitef8a1390b2fc01ad179cb798d4a207544efc7f90 (patch)
tree4e89eed3afae87ca28419b546efae753e3cf84d9 /src/drivers/intel/usb4
parent5d48e783411caf5f9bf269b36586e129e30e511b (diff)
drivers/intel/usb4/retimer: Use usb4_retimer_scope replace dev path
Without acpi name, acpi_device_path will return NULL. <NULL>: Intel USB4 Retimer at GENERIC: 0.0 Replace with usb4_retimer_scope for the identify. BUG=b:215742472 TEST=show below meaasge in coreboot log \_SB.PCI0.TMD0.HR : Intel USB4 Retimer at GENERIC: 0.0 \_SB.PCI0.TMD1.HR : Intel USB4 Retimer at GENERIC: 0.0 Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: Idfa8b204894409b11936e5f221c218daa206cc02 Reviewed-on: https://review.coreboot.org/c/coreboot/+/61315 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/drivers/intel/usb4')
-rw-r--r--src/drivers/intel/usb4/retimer/retimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/usb4/retimer/retimer.c b/src/drivers/intel/usb4/retimer/retimer.c
index 8a20ebe68a..4e4a92c7fa 100644
--- a/src/drivers/intel/usb4/retimer/retimer.c
+++ b/src/drivers/intel/usb4/retimer/retimer.c
@@ -415,7 +415,7 @@ static void usb4_retimer_fill_ssdt(const struct device *dev)
acpigen_pop_len(); /* Host Router */
acpigen_pop_len(); /* Scope */
- printk(BIOS_INFO, "%s: %s at %s\n", acpi_device_path(dev), dev->chip_ops->name,
+ printk(BIOS_INFO, "%s.HR: %s at %s\n", usb4_retimer_scope, dev->chip_ops->name,
dev_path(dev));
}