From da16c4f01ccacd5e95d4c49b9f5bee51a1ac9224 Mon Sep 17 00:00:00 2001 From: songyanguang <345810377@qq.com> Date: Tue, 24 Sep 2024 17:16:34 +0800 Subject: [PATCH] Modify xhci debug log --- .../services/drivers/usb/components/port/xhci/xhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c index 45f5a9145..fe7c96ebd 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c @@ -776,7 +776,7 @@ static int xhci_scratchpad_alloc ( struct xhci_host *xhci ) { rc = -ENOMEM; goto err_alloc; } - USB_LOG_DBG("xhci_scratchpad_alloc vir_addr=%lx phy_addr=%08lx\n", vir_addr, phy_addr); + USB_LOG_DBG("xhci_scratchpad_alloc vir_addr=%lx phy_addr=%08lx\n", scratch->array_addr, phy_addr); memset(scratch->array_addr, 0, array_len); scratch->array_phy = phy_addr; @@ -907,7 +907,7 @@ static int xhci_command_alloc ( struct xhci_host *xhci ) { rc = -ENOMEM; goto err_ring_alloc; } - USB_LOG_DBG("xhci_command_alloc cmds_addr=%lx cmds_phy=%08lx\n", cmds_addr, cmds_phy); + USB_LOG_DBG("xhci_command_alloc cmds_addr=%lx cmds_phy=%08lx\n", xhci->cmds_addr, cmds_phy); xhci->cmds_phy = cmds_phy;