projects/linux·commit 1765f5dc

sky2: Increase D3 delay again

1765f5dc · Kai-Heng Feng <[email protected]> · 2019-02-19 23:45:29 +08:00

Another platform requires even longer delay to make the device work
correctly after S3.

So increase the delay to 300ms.

BugLink: https://bugs.launchpad.net/bugs/1798921

Signed-off-by: Kai-Heng Feng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Commit
1765f5dcd00963e33f1b8a4e0f34061fbc0e2f7f
Parents
816db766

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/net/ethernet/marvell/sky2.cmodified+1−1View file

drivers/net/ethernet/marvell/sky2.c

View file
diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c
index f3a5fa8..57727fe 100644
--- a/drivers/net/ethernet/marvell/sky2.c
+++ b/drivers/net/ethernet/marvell/sky2.c
@@ -5073,7 +5073,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 = 200;
+ pdev->d3_delay = 300;
return 0;