diff options
| author | Yuho Choi <dbgh9129@gmail.com> | 2026-08-06 21:57:34 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-08-07 17:23:56 +0200 |
| commit | 3d7ed9b8ef47b8bcae1fc3e12f7590a217862a89 (patch) | |
| tree | 13fb7188b6b31c05f77f6fd5bfad6df0202c87f1 /tools/perf/scripts/python | |
| parent | 525ba51157ac6e1772b5412eae26b20dd7ef8bda (diff) | |
ACPI: video: Release PCI device reference after lookup
video_detect_portege_r100() uses pci_get_device() only as a boolean
check for the Trident CyberBlade XP4m32 device. pci_get_device() takes a
reference on a matching PCI device, but the callback returns without
releasing it.
Drop the reference after selecting the vendor backlight quirk so the PCI
device can be released normally.
Fixes: 35a341c9b25d ("ACPI: video: Add acpi_backlight=vendor quirk for Toshiba Portégé R100")
Signed-off-by: Yuho Choi <dbgh9129@gmail.com>
Link: https://patch.msgid.link/20260807015734.913361-1-dbgh9129@gmail.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
