Home
last modified time | relevance | path

Searched hist:"73 f476aa1975bae6a792b340f5b26ffcfba869a6" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/phy/
H A Ddp83tc811.cdiff 73f476aa1975bae6a792b340f5b26ffcfba869a6 Fri Feb 26 09:30:20 CST 2021 Ioana Ciornei <ioana.ciornei@nxp.com> net: phy: ti: take into account all possible interrupt sources

The previous implementation of .handle_interrupt() did not take into
account the fact that all the interrupt status registers should be
acknowledged since multiple interrupt sources could be asserted.

Fix this by reading all the status registers before exiting with
IRQ_NONE or triggering the PHY state machine.

Fixes: 1d1ae3c6ca3f ("net: phy: ti: implement generic .handle_interrupt() callback")
Reported-by: Sven Schuchmann <schuchmann@schleissheimer.de>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20210226153020.867852-1-ciorneiioana@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
H A Ddp83822.cdiff 73f476aa1975bae6a792b340f5b26ffcfba869a6 Fri Feb 26 09:30:20 CST 2021 Ioana Ciornei <ioana.ciornei@nxp.com> net: phy: ti: take into account all possible interrupt sources

The previous implementation of .handle_interrupt() did not take into
account the fact that all the interrupt status registers should be
acknowledged since multiple interrupt sources could be asserted.

Fix this by reading all the status registers before exiting with
IRQ_NONE or triggering the PHY state machine.

Fixes: 1d1ae3c6ca3f ("net: phy: ti: implement generic .handle_interrupt() callback")
Reported-by: Sven Schuchmann <schuchmann@schleissheimer.de>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20210226153020.867852-1-ciorneiioana@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>