commit | 92bad8509159b2377b40fe91a6b37f1b4cb63569 | [log] [tgz] |
---|---|---|
author | Heiner Kallweit <hkallweit1@gmail.com> | Sun Jun 24 18:37:36 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 25 16:21:51 2018 +0900 |
tree | d2a2b95cc597daf25134f49f08a6c98e389632bd | |
parent | 064f390265be42763e804f742b1d920e4e997ddb [diff] |
r8169: improve phy initialization when resuming Let's move calling rtl8169_init_phy() to __rtl8169_resume(). It simplifies the code and avoids rtl8169_init_phy() being called when resuming whilst interface is down. rtl_open() will initialize the PHY when the interface is brought up. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>