]> git.baikalelectronics.ru Git - kernel.git/commit
drm/gma500: Disable PCI device during shutdown
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 20 Sep 2021 14:10:48 +0000 (16:10 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 23 Sep 2021 07:40:36 +0000 (09:40 +0200)
commit81affb0532abcdefd182b3b1ee1eac24e903061a
tree2f5deac6563708b61a1ec588efad563866145a4b
parentae732e77c41882057b825e26b5c94c2ab4c7f3ab
drm/gma500: Disable PCI device during shutdown

Use managed disablement of PCI devices via pcim_device_enable().
Disables the PCI device and simplifies error rollback in probe
function.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210920141051.30988-3-tzimmermann@suse.de
drivers/gpu/drm/gma500/psb_drv.c