]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: informative message if no controller
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 18 Jun 2024 19:07:29 +0000 (21:07 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 19 Jun 2024 04:14:55 +0000 (06:14 +0200)
The message 'No working controllers found' provides no clue that this
refers to USB controllers.

Provide a message that refers to USB.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
drivers/usb/host/usb-uclass.c

index a1cd0ad2d669b7c2fa04148cec104fcbe8aa99ea..a5288ebca8fe6ced8c73592391251badfbfb7254 100644 (file)
@@ -388,7 +388,7 @@ int usb_init(void)
 
        /* if we were not able to find at least one working bus, bail out */
        if (controllers_initialized == 0)
-               printf("No working controllers found\n");
+               printf("No USB controllers found\n");
 
        return usb_started ? 0 : -ENOENT;
 }