[PATCH 08/13] usb: Quieten a debug message

Simon Glass sjg at chromium.org
Mon Feb 20 20:49:22 CET 2023


This comes up repeatedly on Intel ADL. Use a debug message instead.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/usb/host/xhci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index dbeb88afe37..bd7e88b1769 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -885,8 +885,8 @@ static int xhci_submit_root(struct usb_device *udev, unsigned long pipe,
 
 	if ((req->requesttype & USB_RT_PORT) &&
 	    le16_to_cpu(req->index) > max_ports) {
-		printf("The request port(%d) exceeds maximum port number\n",
-		       le16_to_cpu(req->index) - 1);
+		log_debug("The request port(%d) exceeds maximum port number\n",
+			  le16_to_cpu(req->index) - 1);
 		return -EINVAL;
 	}
 
-- 
2.39.2.637.g21b0678d19-goog



More information about the U-Boot mailing list