aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2020-11-13 18:52:17 +0200
committerJakub Kicinski <kuba@kernel.org>2020-11-17 11:36:59 -0800
commit52b1984a88ac1e6097ac519eb671a77afc80943d (patch)
treec861ee171ce6f610f92abb61603cf37ca0d219cc /drivers/net/phy/phy.c
parentnet: phy: lxt: remove the use of .ack_interrupt() (diff)
downloadwireguard-linux-52b1984a88ac1e6097ac519eb671a77afc80943d.tar.xz
wireguard-linux-52b1984a88ac1e6097ac519eb671a77afc80943d.zip
net: phy: nxp-tja11xx: implement generic .handle_interrupt() callback
In an attempt to actually support shared IRQs in phylib, we now move the responsibility of triggering the phylib state machine or just returning IRQ_NONE, based on the IRQ status register, to the PHY driver. Having 3 different IRQ handling callbacks (.handle_interrupt(), .did_interrupt() and .ack_interrupt() ) is confusing so let the PHY driver implement directly an IRQ handler like any other device driver. Make this driver follow the new convention. Cc: Marek Vasut <marex@denx.de> Cc: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions