]> git.sur5r.net Git - u-boot/blobdiff - common/usb_hub.c
spi: fsl_qspi: Fix issues on arm64
[u-boot] / common / usb_hub.c
index e6a2cdb6f86de458a828f2d220263aa7d6cf6df2..0f39c9faf7ea4248cd8e60da5fc1b6446208ebf7 100644 (file)
@@ -402,6 +402,7 @@ static int usb_scan_port(struct usb_device_scan *usb_scan)
                        free(usb_scan);
                        return 0;
                }
+               return 0;
        }
 
        portstatus = le16_to_cpu(portsts->wPortStatus);
@@ -475,7 +476,7 @@ static int usb_scan_port(struct usb_device_scan *usb_scan)
                        return 0;
 
                /* Otherwise the device will get removed */
-               printf("Port %d over-current occured %d times\n", i + 1,
+               printf("Port %d over-current occurred %d times\n", i + 1,
                       hub->overcurrent_count[i]);
        }