mirror_ubuntu-kernels/drivers/media/pci/intel
Christophe JAILLET fe61b2906b media: intel/ipu6: Fix some redundant resources freeing in ipu6_pci_remove()
pcim_iomap_regions() and pcim_enable_device() are used in the probe. So
the corresponding managed resources don't need to be freed explicitly in
the remove function.

Remove the incorrect pci_release_regions() and pci_disable_device() calls.

Fixes: 25fedc0219 ("media: intel/ipu6: add Intel IPU6 PCI device driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-05-28 08:00:14 +02:00
..
ipu3 media: ipu3-cio2: Update e-mail addresses 2024-04-10 15:15:31 +02:00
ipu6 media: intel/ipu6: Fix some redundant resources freeing in ipu6_pci_remove() 2024-05-28 08:00:14 +02:00
ivsc media: ivsc: csi: Use IPU bridge 2024-04-29 14:56:37 +02:00
ipu-bridge.c media: intel/ipu6: Fix build with !ACPI 2024-05-02 11:19:00 +01:00
Kconfig media: intel/ipu6: Fix direct dependency Kconfig error 2024-05-02 11:19:00 +01:00
Makefile media: intel/ipu6: add Kconfig and Makefile 2024-04-29 14:56:38 +02:00