diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-07-21 18:22:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-21 16:12:19 -0700 |
commit | 3fc364c0527494f322ad9504a39d39a6197edfdc (patch) | |
tree | c67e55b55401c27275b9cde0c1d7c0990eceb01e | |
parent | 4c8024f7312822c777eaaa2be4ff68c11ec3bcc0 (diff) | |
download | lwn-3fc364c0527494f322ad9504a39d39a6197edfdc.tar.gz lwn-3fc364c0527494f322ad9504a39d39a6197edfdc.zip |
r8169: allow to enable ASPM on RTL8125A
For most chip versions this has been added already. Allow also for
RTL8125A to enable ASPM.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/realtek/r8169_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index 975f5c10ba47..d1da92ac7fbe 100644 --- a/drivers/net/ethernet/realtek/r8169_main.c +++ b/drivers/net/ethernet/realtek/r8169_main.c @@ -3622,6 +3622,7 @@ static void rtl_hw_start_8125a_1(struct rtl8169_private *tp) rtl_ephy_init(tp, e_info_8125a_1); rtl_hw_start_8125_common(tp); + rtl_hw_aspm_clkreq_enable(tp, true); } static void rtl_hw_start_8125a_2(struct rtl8169_private *tp) @@ -3649,6 +3650,7 @@ static void rtl_hw_start_8125a_2(struct rtl8169_private *tp) rtl_ephy_init(tp, e_info_8125a_2); rtl_hw_start_8125_common(tp); + rtl_hw_aspm_clkreq_enable(tp, true); } static void rtl_hw_start_8125b(struct rtl8169_private *tp) |