Message ID | 5b0846b2-64ca-90ee-b5a5-533286961142@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | d2a04370817fc7b0172dad2ef2decf907e1a304e |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] r8169: fix resuming from suspend on RTL8105e if machine runs on battery | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Clearly marked for net-next |
netdev/subject_prefix | success | Link |
netdev/cc_maintainers | success | CCed 5 of 5 maintainers |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 7 lines checked |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/header_inline | success | Link |
netdev/stable | success | Stable not CCed |
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Sun, 14 Feb 2021 17:38:30 +0100 you wrote: > 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> > > [...] Here is the summary with links: - [net-next] r8169: fix resuming from suspend on RTL8105e if machine runs on battery https://git.kernel.org/netdev/net-next/c/d2a04370817f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index 04231585e..376dfd011 100644 --- a/drivers/net/ethernet/realtek/r8169_main.c +++ b/drivers/net/ethernet/realtek/r8169_main.c @@ -1252,6 +1252,7 @@ static void rtl_set_d3_pll_down(struct rtl8169_private *tp, bool enable) { switch (tp->mac_version) { case RTL_GIGA_MAC_VER_25 ... RTL_GIGA_MAC_VER_26: + case RTL_GIGA_MAC_VER_29 ... RTL_GIGA_MAC_VER_30: case RTL_GIGA_MAC_VER_32 ... RTL_GIGA_MAC_VER_37: case RTL_GIGA_MAC_VER_39 ... RTL_GIGA_MAC_VER_63: if (enable)