diff options
| author | Michal Suchanek <[email protected]> | 2022-10-12 21:57:56 +0200 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2022-10-17 21:17:12 -0600 |
| commit | f42642347120d988e7cf6986139e7ec68e36bc6b (patch) | |
| tree | 8e17d031e8d4d4e76c009997848e6bed6a27ae59 /include/linux | |
| parent | 7ff12631b44cdbb86c868ce02efd5a06429c7683 (diff) | |
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
