diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-10-18 19:34:03 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-10-19 13:28:30 +0200 |
commit | eb1d39260ee6477e2971f81cec18ba5f6583259d (patch) | |
tree | 4081129ab0ca1415e8ffad09c4a973ad4b58c7df /include/dt-bindings/pinctrl/samsung.h | |
parent | 9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff) | |
download | linux-eb1d39260ee6477e2971f81cec18ba5f6583259d.tar.gz |
ACPI: PCI: Fix device reference counting in acpi_get_pci_dev()
Commit 63f534b8bad9 ("ACPI: PCI: Rework acpi_get_pci_dev()") failed
to reference count the device returned by acpi_get_pci_dev() as
expected by its callers which in some cases may cause device objects
to be dropped prematurely.
Add the missing get_device() to acpi_get_pci_dev().
Fixes: 63f534b8bad9 ("ACPI: PCI: Rework acpi_get_pci_dev()")
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/dt-bindings/pinctrl/samsung.h')
0 files changed, 0 insertions, 0 deletions