]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ast: Fix missing conversions to managed API
authorTakashi Iwai <tiwai@suse.de>
Wed, 21 Apr 2021 17:04:58 +0000 (19:04 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 26 Apr 2021 17:53:58 +0000 (19:53 +0200)
commit26e78151ca3fc80995f78150edb2bb533b9757d7
tree3361ac3b1906e56da0c920ae62f8154230b769c5
parent3840930ec7ab84e93e5437df1864e6c7f252a67c
drm/ast: Fix missing conversions to managed API

The commit 17464dfb36b0 ("drm/ast: Use managed pci functions")
converted a few PCI accessors to the managed API and dropped the
manual pci_iounmap() calls, but it seems to have forgotten converting
pci_iomap() to the managed one.  It resulted in the leftover resources
after the driver unbind.  Let's fix them.

Fixes: 17464dfb36b0 ("drm/ast: Use managed pci functions")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210421170458.21178-1-tiwai@suse.de
drivers/gpu/drm/ast/ast_main.c