diff options
author | Jiawen Wu <jiawenwu@trustnetic.com> | 2024-03-01 12:29:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-30 10:49:52 +0300 |
commit | 40503e6045704b0a4f071568ffaabb2eee3d9431 (patch) | |
tree | eb5b4771661101b3262415e28fd664e7582e265a /drivers/misc/tps6594-esm.c | |
parent | c273577b185360be2fed143f4f05ba115569c606 (diff) | |
download | linux-40503e6045704b0a4f071568ffaabb2eee3d9431.tar.xz |
net: txgbe: fix GPIO interrupt blocking
[ Upstream commit b4a2496c17ed645f8d51061047c9c249b58c74ba ]
The register of GPIO interrupt status is masked before MAC IRQ
is enabled. This is because of hardware deficiency. So manually
clear the interrupt status before using them. Otherwise, GPIO
interrupts will never be reported again. There is a workaround for
clearing interrupts to set GPIO EOI in txgbe_up_complete().
Fixes: aefd013624a1 ("net: txgbe: use irq_domain for interrupt controller")
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://lore.kernel.org/r/20240301092956.18544-1-jiawenwu@trustnetic.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/misc/tps6594-esm.c')
0 files changed, 0 insertions, 0 deletions