]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf8ceef80dcd5ac45c0ced149f5d8c5a87b4ce90f
treebcd4de6786726f938f3a78776dced475c47f7ba4
parent72cbfa0f31d4c5771bdd67bc3d3745e7c0610c4c
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