]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: fix resuming from suspend on RTL8105e if machine runs on battery
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 14 Feb 2021 16:38:30 +0000 (17:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2021 20:34:32 +0000 (12:34 -0800)
commitd2a04370817fc7b0172dad2ef2decf907e1a304e
tree15a1d508cf792a4bed9eecdbc0d976cbef333178
parent75f5653a1fb5b33ad7686a5cc258b9b76518ef9b
r8169: fix resuming from suspend on RTL8105e if machine runs on battery

Armin reported that after referenced commit his RTL8105e is dead when
resuming from suspend and machine runs on battery. This patch has been
confirmed to fix the issue.

Fixes: e80bd76fbf56 ("r8169: work around power-saving bug on some chip versions")
Reported-by: Armin Wolf <W_Armin@gmx.de>
Tested-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c