]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/ast: Set up release action right after enabling MMIO
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 21 Jun 2023 12:53:42 +0000 (14:53 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 27 Jun 2023 12:26:33 +0000 (14:26 +0200)
commita74ec2bcdc2298ab025a75b9d5683aabf4e4c043
tree6d430048fa9c4255488b8c47909fab9531233f50
parent5b71707dd13cb611bba07ab5f38f92b8f7859d6e
drm/ast: Set up release action right after enabling MMIO

Ast sets up a managed release of the MMIO access flags. Move this
code next to the MMIO access code, so that it runs if other errors
occur during the device initialization.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: Sui Jingfeng <suijingfeng@loongson.cn> # AST2400
Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Tested-by: Jocelyn Falempe <jfalempe@redhat.com> # AST2600
Link: https://patchwork.freedesktop.org/patch/msgid/20230621130032.3568-9-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_main.c