u-boot/drivers/video/imx
Michal Suchanek f426423471 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>
2022-10-17 21:17:12 -06:00
..
ipu.h video: move ipuv3 files to subdirectory 2019-04-13 20:30:09 +02:00
ipu_common.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ipu_disp.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ipu_regs.h video: move ipuv3 files to subdirectory 2019-04-13 20:30:09 +02:00
Kconfig video: ipuv3: remove non-DM code 2020-06-18 19:38:50 +02:00
Makefile video: move ipuv3 files to subdirectory 2019-04-13 20:30:09 +02:00
mxc_ipuv3_fb.c video: ipuv3: Fix error handling when getting the display 2022-10-17 21:17:12 -06:00
mxcfb.h video: move ipuv3 files to subdirectory 2019-04-13 20:30:09 +02:00