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)
commit9285f09e8f96496604cf0755a3d7e91478120609
tree2e47be754e299d1200fd391bb1c0e013caafc305
parente09b9aef6807474d6964a2513321e174f5162e8e
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