summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorGuangshuo Li <lgs201920130244@gmail.com>2026-04-17 09:53:30 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-05-05 17:57:03 +0300
commit033ff0420e4c9c240ae5523fff39770298efa964 (patch)
tree0e9701288339531cb16ecac419d3f64dfab7ec35 /include/linux/timerqueue.h
parenta07c179a92e949172ca52f6d4a13202ea88cd4b7 (diff)
downloadlinux-033ff0420e4c9c240ae5523fff39770298efa964.tar.xz
media: marvell-cam: fix missing pci_disable_device() on remove
During manual code audit, we found that cafe_pci_probe() enables the PCI device with pci_enable_device(), and its probe error path properly calls pci_disable_device() on failure. However, cafe_pci_remove() tears down the controller and frees the driver data without disabling the PCI device, leaving the remove path inconsistent with probe cleanup. Add the missing pci_disable_device() call to cafe_pci_remove(). Fixes: abfa3df36c01 ("[media] marvell-cam: Separate out the Marvell camera core") Cc: stable@vger.kernel.org Signed-off-by: Guangshuo Li <lgs201920130244@gmail.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions