aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy_device.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2020-11-23 17:38:16 +0200
committerJakub Kicinski <kuba@kernel.org>2020-11-25 11:18:38 -0800
commita1a4417458cd0b5a9b4ce574524d166f4dcd642f (patch)
treeb13e9be85d976d42641c9701a74ee4aee2bb7ed2 /drivers/net/phy/phy_device.c
parentnet: phy: qsemi: implement generic .handle_interrupt() callback (diff)
downloadlinux-dev-a1a4417458cd0b5a9b4ce574524d166f4dcd642f.tar.xz
linux-dev-a1a4417458cd0b5a9b4ce574524d166f4dcd642f.zip
net: phy: qsemi: remove the use of .ack_interrupt()
In preparation of removing the .ack_interrupt() callback, we must replace its occurrences (aka phy_clear_interrupt), from the 2 places where it is called from (phy_enable_interrupts and phy_disable_interrupts), with equivalent functionality. This means that clearing interrupts now becomes something that the PHY driver is responsible of doing, before enabling interrupts and after clearing them. Make this driver follow the new contract. Also, add a comment describing the multiple step interrupt acknoledgement process. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
0 files changed, 0 insertions, 0 deletions