diff options
author | 2022-11-11 18:07:52 +0800 | |
---|---|---|
committer | 2022-11-15 17:15:47 +0100 | |
commit | d0cdd85046b15089df71a50548617ac1025300d0 (patch) | |
tree | d10b0074b72ec679174ecccc929f54d301cdc33a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86/intel: pmc: Don't unconditionally attach Intel PMC when virtualized (diff) | |
download | wireguard-linux-d0cdd85046b15089df71a50548617ac1025300d0.tar.xz wireguard-linux-d0cdd85046b15089df71a50548617ac1025300d0.zip |
platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr()
pci_get_device() will increase the reference count for the returned
pci_dev. We need to use pci_dev_put() to decrease the reference count
before asus_wmi_set_xusb2pr() returns.
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Link: https://lore.kernel.org/r/20221111100752.134311-1-wangxiongfeng2@huawei.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions