]> 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)
commitba21b3f607908f8b4c0c7a985256ffce5e89f3a8
tree3912c33aa5c0ac62095eb505b16074feebd413b7
parent2d79498eb4f7fd3407f4ec9bace41335de612459
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