commit | ac74608705c23a808441c35fdac8939a71d10b3e | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jul 30 11:15:12 2023 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Wed Aug 09 23:31:11 2023 +0800 |
tree | 743d4ea57c5e865d48b3fb0ccd2be6afe5510bdd | |
parent | b5ad39617df5e3a25c05f8a915da7327d6077c91 [diff] |
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>