]> 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)
commit3e6a12e1cf5bc0884bfdc5587302e348a21f9711
tree2e47be754e299d1200fd391bb1c0e013caafc305
parentbdea5c068046a9608108e6c96c6cd3cc6f1a0c5a
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