Home
last modified time | relevance | path

Searched hist:a4d7742149f6a4880fa8bdf941a40c345162074c (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/phy/
H A Dnational.cdiff a4d7742149f6a4880fa8bdf941a40c345162074c Mon Nov 23 09:38:12 CST 2020 Ioana Ciornei <ioana.ciornei@nxp.com> net: phy: national: remove the use of the .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.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>