Commit 1dd53a61 authored by Voon Weifeng's avatar Voon Weifeng Committed by David S. Miller

stmmac: intel: set PCI_D3hot in suspend

During suspend, set the Intel mgbe to D3hot state
to save power consumption.
Signed-off-by: default avatarVoon Weifeng <weifeng.voon@intel.com>
Signed-off-by: default avatarLing Pei Lee <pei.lee.ling@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 945beb75
......@@ -1118,6 +1118,7 @@ static int __maybe_unused intel_eth_pci_suspend(struct device *dev)
return ret;
pci_wake_from_d3(pdev, true);
pci_set_power_state(pdev, PCI_D3hot);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment