aboutsummaryrefslogtreecommitdiff
path: root/boot/vbe.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-08-27 08:07:09 -0400
committerTom Rini <trini@konsulko.com>2022-08-27 08:07:09 -0400
commit1573b6a86993fcf80d4badc866a46b78df7e6bda (patch)
treed56567f58fac5b9cd1578df9e0bd5a8982a27235 /boot/vbe.c
parentcd3872ce7e5bf90424a10eda0fe405d04e82adb9 (diff)
parentc2ee5ee7b3393770dbe809ca36814083feffaf83 (diff)
Merge tag 'dm-pull-26aug22' of https://source.denx.de/u-boot/custodians/u-boot-dm
binman/patman documentation improvements other minor fixes
Diffstat (limited to 'boot/vbe.c')
-rw-r--r--boot/vbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/vbe.c b/boot/vbe.c
index e6ee087dc2..52b3283003 100644
--- a/boot/vbe.c
+++ b/boot/vbe.c
@@ -40,7 +40,7 @@ int vbe_find_next_device(struct udevice **devp)
int vbe_find_first_device(struct udevice **devp)
{
uclass_find_first_device(UCLASS_BOOTMETH, devp);
- if (*devp && is_vbe(*devp))
+ if (!*devp || is_vbe(*devp))
return 0;
return vbe_find_next_device(devp);