e1000e: Disable runtime PM on SPT+
Subsystems (3)
PATCH 1/1 e1000e: Disable runtime PM on SPT+
459d69c407f9 disabled runtime PM for CNP+ chips. This broke my I219-LM on a SPT chip. So disable runtime PM also for SPT.
Signed-off-by Julian Wollrath <[email protected]>
--- drivers/net/ethernet/intel/e1000e/netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/e1000e/netdev.c +1 -1
@@ -7343,7 +7343,7 @@ static int e1000_probe(struct pci_dev *pdev, const struct pci_device_id *ent)dev_pm_set_driver_flags (&pdev->dev,DPM_FLAG_NEVER_SKIP ); -if (pci_dev_run_wake (pdev) && hw->mac.type < e1000_pch_cnp) +if (pci_dev_run_wake (pdev) && hw->mac.type < e1000_pch_spt)pm_runtime_put_noidle (&pdev->dev);return 0 ;
--
2.20.1