summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy_led_triggers.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2020-11-01 14:51:08 +0200
committerJakub Kicinski <kuba@kernel.org>2020-11-05 16:32:39 -0800
commite5d2b0b6c2b98bfac36c280d81a7bb7aabc5b731 (patch)
tree3c424df255cb947c76999b2aa9cb8ce3cddeddee /drivers/net/phy/phy_led_triggers.c
parent15772e4ddf3fa07db7be3c0920dd21a580a05ffa (diff)
net: phy: cicada: implement the 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. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/phy_led_triggers.c')
0 files changed, 0 insertions, 0 deletions