]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: stop PHY if needed when entering phy_disconnect
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 17 Jan 2019 19:07:54 +0000 (20:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 22:12:25 +0000 (14:12 -0800)
commitc99938000acb588827e56a1e95bcb39f628495e8
tree0f333172a53af89933dd2e2210d36f3b922a352f
parent7f5a48f253adc49354bf04ff67083d178983c935
net: phy: stop PHY if needed when entering phy_disconnect

Stop PHY if needed when entering phy_disconnect. This allows drivers
that don't need a separate call to phy_stop() to omit this call.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c