Skip to contentSkip to conversation

e1000e: Disable runtime PM on SPT+

PATCH New Julian Wollrath 1 participant 1 message May 13, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 drivers/net/ethernet/intel/e1000e/netdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/e1000e/netdev.c +1 -1
index 0e09bede42a2..24c1946139cf 100644
@@ -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