]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-phy-remove-phy_error-from-phy_disable_interrupts'
authorDavid S. Miller <davem@davemloft.net>
Wed, 7 Mar 2018 17:30:20 +0000 (12:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Mar 2018 17:30:20 +0000 (12:30 -0500)
commit7b5aa8be7700b74e48beb59022e87ddb40bffad5
treeac36f30727a5796381ecb8506bdf9adfb3540ece
parent88fce942fec8115b4f702a01cf56b64e1c5b3303
parent7e2a7723fed807461b26a6a39a033af3939b17a6
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: David S. Miller <davem@davemloft.net>