Simon Glass 4c4ccc5a04 usb: Return -ENOENT when no devices are found
When USB finds no devices it currently returns -EPERM which bootstd does
not understand. This causes other bootdevs of the same priority to be
skipped.

Fix this by returning the correct error code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2023-08-09 23:31:11 +08:00
..
2022-06-28 17:03:30 -04:00
2023-02-07 14:33:50 -05:00
2022-06-28 17:03:31 -04:00
2023-01-27 14:47:58 -05:00
2023-01-27 14:47:58 -05:00
2023-07-27 03:59:38 +02:00