diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2022-01-14 15:14:30 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-14 11:27:34 +0000 |
commit | d90d0c175cf2982789d336dda928c0f69d3e8a9d (patch) | |
tree | abc5f65563a8871e302370ab47c8a2693ac4360f /net | |
parent | 99218cbf81bf21355a3de61cd46a706d36e900e6 (diff) | |
download | linux-stable-d90d0c175cf2982789d336dda928c0f69d3e8a9d.tar.gz linux-stable-d90d0c175cf2982789d336dda928c0f69d3e8a9d.tar.bz2 linux-stable-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 <kai.heng.feng@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions