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

Mark Kettenis mark.kettenis at xs4all.nl
Mon Feb 20 21:01:09 CET 2023


> From: Simon Glass <sjg at chromium.org>
> Date: Mon, 20 Feb 2023 12:49:22 -0700
> 
> This comes up repeatedly on Intel ADL. Use a debug message instead.

commit e330c8b83e87 fixed the (likely) root cause for this error
message.  Are you still seeing this message with that commit present?

> 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