Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Kai-Heng Feng and committed by
David S. Miller
afb13363 48bfc397

+1 -1
+1 -1
drivers/net/ethernet/marvell/sky2.c
··· 5087 5087 INIT_WORK(&hw->restart_work, sky2_restart); 5088 5088 5089 5089 pci_set_drvdata(pdev, hw); 5090 - pdev->d3_delay = 150; 5090 + pdev->d3_delay = 200; 5091 5091 5092 5092 return 0; 5093 5093