]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: phy: core: remove now uneeded disabling of interrupts
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 30 Nov 2017 22:55:15 +0000 (23:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Dec 2017 15:23:41 +0000 (10:23 -0500)
commita6d1642dab0c49829cda61508cbdc97172815ff7
tree842ff147579f10acc49df85afa5a40da3c52084f
parentc6d3c96f8d52b8f16de73e778717641e659c4ccc
net: phy: core: remove now uneeded disabling of interrupts

After commits c974bdbc3e "net: phy: Use threaded IRQ, to allow IRQ from
sleeping devices" and 664fcf123a30 "net: phy: Threaded interrupts allow
some simplification" all relevant code pieces run in process context
anyway and I don't think we need the disabling of interrupts any longer.

Interestingly enough, latter commit already removed the comment
explaining why interrupts need to be temporarily disabled.

On my system phy interrupt mode works fine with this patch.
However I may miss something, especially in the context of shared phy
interrupts, therefore I'd appreciate if more people could test this.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
include/linux/phy.h