Skip to content
Commit b2b19494 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'net-phy-remove-phy_error-from-phy_disable_interrupts'



Heiner Kallweit says:

====================
net: phy: remove phy_error from phy_disable_interrupts

All callers of phy_disable_interrupts() call phy_error() in the error
case. Therefore we don't need to do this within the function too.
This change also allows us to use phy_disable_interrupts() in code
holding phydev->lock (because phy_error() takes this lock).
Make use of this in phy_stop().

v2:
- splitted into two separate patches
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 4d1e46a5 70a55c32
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment