Files
mt76/mt7915
Xiongfeng WangandFelix Fietkau fa79eeeadc mt76: mt7915: Fix PCI device refcount leak in mt7915_pci_init_hif2()
As comment of pci_get_device() says, it returns a pci_device with its
refcount increased. We need to call pci_dev_put() to decrease the
refcount. Save the return value of pci_get_device() and call
pci_dev_put() to decrease the refcount.

Fixes: 9093cfff72e3 ("mt76: mt7915: add support for using a secondary PCIe link for gen1")
Fixes: 2e30db0dde61 ("mt76: mt7915: add device id for mt7916")
Signed-off-by: Xiongfeng Wang <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
2022-12-01 12:10:50 +01:00
..
2022-11-23 13:16:11 +01:00
2022-11-23 13:38:55 +01:00
2022-11-23 13:16:11 +01:00