]> git.baikalelectronics.ru Git - 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)
commit0e03dfa80bc3918b074da621e04b28cc8660cf76
tree842ff147579f10acc49df85afa5a40da3c52084f
parent643ea11dde3c5068d28ceed1b35b940445f73288
net: phy: core: remove now uneeded disabling of interrupts

After commits 040f55c174 "net: phy: Use threaded IRQ, to allow IRQ from
sleeping devices" and 3bc27cad29fb "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