diff options
author | Michal Suchanek <msuchanek@suse.de> | 2022-10-12 21:57:56 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-10-17 21:17:12 -0600 |
commit | f42642347120d988e7cf6986139e7ec68e36bc6b (patch) | |
tree | 8e17d031e8d4d4e76c009997848e6bed6a27ae59 /drivers/w1 | |
parent | 7ff12631b44cdbb86c868ce02efd5a06429c7683 (diff) | |
download | u-boot-f42642347120d988e7cf6986139e7ec68e36bc6b.tar.gz |
video: ipuv3: Fix error handling when getting the display
The code checks that uclass_first_device returned a device but the
returned value that is assigned is never used. Use
uclass_first_device_err instead, and move the error return outside of
the if block.
Fixes: f4ec1ae08e ("mxc_ipuv3_fb.c: call display_enable")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions