]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: improve runtime pm in rtl8169_check_link_status
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 8 Jan 2018 20:39:07 +0000 (21:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2018 17:38:56 +0000 (12:38 -0500)
commitd00ea0af76c35aede0270a731ceae3afa980236f
tree3912c33aa5c0ac62095eb505b16074feebd413b7
parent57fe038e37818aec7b8807fe39c275eae4ecf3e0
r8169: improve runtime pm in rtl8169_check_link_status

This patch partially reverts commit 74fe67fdfdd3 "r8169: Fix runtime
power management" from 2010. At that time the suspend delay was 100ms
and therefore suspending happened during initial aneg. Currently
suspend delay is 5s, so suspend starts after aneg and the issue
doesn't exist any longer. On my system aneg takes almost 3s, to be on
the safe side let's increase the suspend delay to 10s.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c