summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/sky2.c
diff options
context:
space:
mode:
authorKai-Heng Feng <kai.heng.feng@canonical.com>2018-03-31 23:42:03 +0800
committerDavid S. Miller <davem@davemloft.net>2018-04-01 20:54:41 -0400
commitafb133637071be6deeb8b3d0e55593ffbf63c527 (patch)
treecefcbf088e4202cfe47ddd6f749b22cee037e4cf /drivers/net/ethernet/marvell/sky2.c
parent48bfc39791b8b4a25f165e711f18b9c1617cefbc (diff)
downloadtalos-obmc-linux-afb133637071be6deeb8b3d0e55593ffbf63c527.tar.gz
talos-obmc-linux-afb133637071be6deeb8b3d0e55593ffbf63c527.zip
sky2: Increase D3 delay to sky2 stops working after suspend
The sky2 ethernet stops working after system resume from suspend: [ 582.852065] sky2 0000:04:00.0: Refused to change power state, currently in D3 The current 150ms delay is not enough, change it to 200ms can solve the issue. BugLink: https://bugs.launchpad.net/bugs/1758507 Cc: Stable <stable@vger.kernel.org> Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/sky2.c')
-rw-r--r--drivers/net/ethernet/marvell/sky2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c
index 9b77db7c13d0..697d9b374f5e 100644
--- a/drivers/net/ethernet/marvell/sky2.c
+++ b/drivers/net/ethernet/marvell/sky2.c
@@ -5087,7 +5087,7 @@ static int sky2_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
INIT_WORK(&hw->restart_work, sky2_restart);
pci_set_drvdata(pdev, hw);
- pdev->d3_delay = 150;
+ pdev->d3_delay = 200;
return 0;
OpenPOWER on IntegriCloud