]> git.baikalelectronics.ru Git - kernel.git/commit
media: tw5864: Disable PCI device when finished
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Fri, 22 Oct 2021 10:06:44 +0000 (11:06 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 08:12:01 +0000 (08:12 +0000)
commitac4e42cc056684b01a2c172af62812fbdcfbc2c6
tree193c2ec6f8527f0f4fa6034e8bd0197c385588f4
parent044d211f27583b0b8693edc945f402b3eb0f7107
media: tw5864: Disable PCI device when finished

The cleanup in tw5864_finidev() neglected to disable the PCI device
after enabling it in tw5864_initdev().

Call pci_disable_device() after releasing the associated resources.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/pci/tw5864/tw5864-core.c