diff options
| author | Kai-Heng Feng <[email protected]> | 2022-01-14 07:14:30 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-01-14 11:27:34 +0000 |
| commit | d90d0c175cf2982789d336dda928c0f69d3e8a9d (patch) | |
| tree | abc5f65563a8871e302370ab47c8a2693ac4360f /net/unix/scm.c | |
| parent | lib82596: Fix IRQ check in sni_82596_probe (diff) | |
| download | kernel-d90d0c175cf2982789d336dda928c0f69d3e8a9d.tar.gz kernel-d90d0c175cf2982789d336dda928c0f69d3e8a9d.zip | |
net: stmmac: Fix "Unbalanced pm_runtime_enable!" warning
If the device is PCI based like intel-eth-pci, pm_runtime_enable() is
already called by pci_pm_init().
So only pm_runtime_enable() when it's not already enabled.
Signed-off-by: Kai-Heng Feng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/scm.c')
0 files changed, 0 insertions, 0 deletions
