diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-06-14 15:08:53 +0300 |
---|---|---|
committer | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2022-06-24 17:03:42 +0200 |
commit | d54cda74a9a27d6a18c6b670f7299114272a5e50 (patch) | |
tree | b7e266e39016c4a6f891bd4bcbed1204894c593e /drivers/target | |
parent | 5e8034364c22050b8564060e79947d094a65d45e (diff) |
drm: logicvc: fix error code in logicvc_layer_init()
Return -EINVAL if logicvc_layer_formats_lookup() fails. Don't return
success.
Fixes: efeeaefe9be5 ("drm: Add support for the LogiCVC display controller")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/Yqh6VdNiDvJYMOQ+@kili
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions