diff options
| author | Myeonghun Pak <mhun512@gmail.com> | 2026-09-14 21:11:05 -0400 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-09-23 14:54:50 +0200 |
| commit | fc02261fdca3ea95e4dcb6b38ab77f0f197c3750 (patch) | |
| tree | 8a1b8d5c84f182e0ab0021246ea226b9cffa4d8a /tools/perf/scripts/python | |
| parent | 80494a83223bc972145c23890b083d20651512bd (diff) | |
media: tw68: balance PCI enable on cleanup
tw68_initdev() leaves the PCI device enabled after a later probe failure
or tw68_finidev(). Use pcim_enable_device() to balance the enable reference
when the driver is detached or probe fails.
The managed disable runs after the managed IRQ has been released.
This issue was identified during our ongoing static-analysis research
while reviewing kernel code.
Fixes: e15d1c12c587 ("[media] tw68: refactor and cleanup the tw68 driver")
Cc: stable@vger.kernel.org
Assisted-by: LLM
Co-developed-by: Ijae Kim <ae878000@gmail.com>
Signed-off-by: Ijae Kim <ae878000@gmail.com>
Signed-off-by: Myeonghun Pak <mhun512@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
