]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ast: Fail if connector initialization fails
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 7 Feb 2022 14:15:36 +0000 (15:15 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 8 Feb 2022 12:37:52 +0000 (13:37 +0100)
commit9321a79d78a49edde88a6cfe4275a3c97c5d80cd
tree2e47be754e299d1200fd391bb1c0e013caafc305
parent229704ee17ff9ced6b391d2305ffd26212c39704
drm/ast: Fail if connector initialization fails

Update the connector code to fail if the connector could not be
initialized. The current code just ignored the error and failed
later when the connector was supposed to be used.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220207141544.30015-2-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c