diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2021-02-26 18:30:20 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-03-01 22:46:55 +0300 |
commit | 73f476aa1975bae6a792b340f5b26ffcfba869a6 (patch) | |
tree | 32a9a807fe43d1c883d92b7e678f737103e9d2a8 /fs/squashfs/namei.c | |
parent | 447621e373bd1b22300445639b43c39f399e4c73 (diff) | |
download | linux-73f476aa1975bae6a792b340f5b26ffcfba869a6.tar.xz |
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>
Diffstat (limited to 'fs/squashfs/namei.c')
0 files changed, 0 insertions, 0 deletions