net: phy: add genphy_handle_interrupt_no_ack()
authorIoana Ciornei <ioana.ciornei@nxp.com>
Sun, 1 Nov 2020 12:51:12 +0000 (14:51 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Nov 2020 00:32:39 +0000 (16:32 -0800)
commit87de1f058aacc8ce4be94e36a38f77b860914a76
treebcd4de6786726f938f3a78776dced475c47f7ba4
parent0d65cc189c9a89ca609086bf1b2a39ef8c7c11ca
net: phy: add genphy_handle_interrupt_no_ack()

It seems there are cases where the interrupts are handled by another
entity (ie an IRQ controller embedded inside the PHY) and do not need
any other interraction from phylib. For this kind of PHYs, like the
RTL8366RB, add the genphy_handle_interrupt_no_ack() function which just
triggers the link state machine.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phy_device.c
include/linux/phy.h