diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2017-11-30 23:57:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-04 10:23:42 -0500 |
commit | c34bc2b5059c515aebc3dde4c34baba6db3fd43f (patch) | |
tree | 6b257a9110766e92b0aaff09b0f973970c40fa8a /net/dccp | |
parent | a6d1642dab0c49829cda61508cbdc97172815ff7 (diff) | |
download | linux-c34bc2b5059c515aebc3dde4c34baba6db3fd43f.tar.bz2 |
net: phy: core: don't disable device interrupts in phy_change
If state is not PHY_HALTED I see no need to temporarily disable
interrupts on the device. As long as the current interrupt isn't acked
on the device no new interrupt can happen anyway.
In addition remove a unneeded enabling of interrupts in the state
machine when handling state PHY_CHANGELINK.
Tested on a Odroid-C2 with RTL8211F phy in interrupt mode.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions