summaryrefslogtreecommitdiff
path: root/drivers/video/video_bmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/video_bmp.c')
-rw-r--r--drivers/video/video_bmp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/video/video_bmp.c b/drivers/video/video_bmp.c
index 5a4d12c68d..66de22318f 100644
--- a/drivers/video/video_bmp.c
+++ b/drivers/video/video_bmp.c
@@ -379,8 +379,5 @@ int video_bmp_display(struct udevice *dev, ulong bmp_image, int x, int y,
if (ret)
return log_ret(ret);
- video_sync(dev, false);
-
- return 0;
+ return video_sync(dev, false);
}
-