diff options
author | Rajvi Jingar <[email protected]> | 2023-12-18 20:22:09 -0800 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-12-19 16:48:05 +0100 |
commit | 1f5e56c9f6cc92c45d27adfe78fb54c716fed2e2 (patch) | |
tree | 440c1efd36b0495f0c2100d21c73583cb9f7c15f /scripts/generate_rust_analyzer.py | |
parent | bd142914f805b88dcb15acaab9fbc9bea666dd32 (diff) |
platform/x86/intel/pmc: Fix in mtl_punit_pmt_init()
pci_get_domain_bus_and_slot() increases the reference count on the pci
device that is used to register the endpoint. In case of failure in
registration, decrease reference count using pci_dev_put(pcidev) before
returning.
Fixes: 6e7964855381 ("platform/x86/intel/pmc: Show Die C6 counter on Meteor Lake")
Signed-off-by: Rajvi Jingar <[email protected]>
Signed-off-by: David E. Box <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions