sky2: Increase D3 delay to sky2 stops working after suspend
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Sat, 31 Mar 2018 15:42:03 +0000 (23:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Apr 2018 10:32:24 +0000 (12:32 +0200)
commitc5fc4dc51cb04913100323b3c9864bfaca229530
tree25b02cf255eccda91c0c12f2f52cd2e9e73dd06c
parent3fdd43709d705727ed4e1c77c7f30989fcae013c
sky2: Increase D3 delay to sky2 stops working after suspend

[ Upstream commit afb133637071be6deeb8b3d0e55593ffbf63c527 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/marvell/sky2.c