netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] e1000e: Disable runtime PM on SPT+
@ 2019-05-13 12:10 Julian Wollrath
  0 siblings, 0 replies; only message in thread
From: Julian Wollrath @ 2019-05-13 12:10 UTC (permalink / raw)
  To: netdev; +Cc: Julian Wollrath

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 <jwollrath@web.de>
---
 drivers/net/ethernet/intel/e1000e/netdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c
index 0e09bede42a2..24c1946139cf 100644
--- a/drivers/net/ethernet/intel/e1000e/netdev.c
+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
@@ -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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-13 12:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-13 12:10 [PATCH] e1000e: Disable runtime PM on SPT+ Julian Wollrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).