Skip to content

Commit

Permalink
Revert "r8169: avoid link-up interrupt issue on RTL8106e if user enab…
Browse files Browse the repository at this point in the history
…les ASPM"

commit 2115d3d upstream.

This reverts commit 1ee8856.

This is used to re-enable ASPM on RTL8106e, if it is possible.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
hayesorz authored and gregkh committed Sep 12, 2021
1 parent d1a3c6d commit f2a098d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/realtek/r8169_main.c
Expand Up @@ -3489,6 +3489,7 @@ static void rtl_hw_start_8402(struct rtl8169_private *tp)
rtl_eri_write(tp, 0x1b0, ERIAR_MASK_0011, 0x0000);

rtl_pcie_state_l2l3_disable(tp);
rtl_hw_aspm_clkreq_enable(tp, true);
}

static void rtl_hw_start_8106(struct rtl8169_private *tp)
Expand Down

0 comments on commit f2a098d

Please sign in to comment.