Commit b91edfef authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Zheng Zengkai
Browse files

r8169: fix resuming from suspend on RTL8105e if machine runs on battery



stable inclusion
from stable-5.10.22
commit b31a9f0c366d7bf2d6d696c99919e603639a9f0a
bugzilla: 50796

--------------------------------

commit d2a04370 upstream.

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: e80bd76f ("r8169: work around power-saving bug on some chip versions")
Reported-by: default avatarArmin Wolf <W_Armin@gmx.de>
Tested-by: default avatarArmin Wolf <W_Armin@gmx.de>
Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent a176cc52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment