summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-pow.c
diff options
context:
space:
mode:
authorLouis-Alexis Eyraud <louisalexis.eyraud@collabora.com>2025-04-24 11:38:49 +0300
committerJakub Kicinski <kuba@kernel.org>2025-04-26 05:06:56 +0300
commite54b4db35e201a9173da9cb7abc8377e12abaf87 (patch)
tree367aafb1ac18b2106d7fcefd11999625f5dca8e5 /lib/mpi/mpi-pow.c
parent6fe0866014486736cc3ba1c6fd4606d3dbe55c9c (diff)
downloadlinux-e54b4db35e201a9173da9cb7abc8377e12abaf87.tar.xz
net: ethernet: mtk-star-emac: rearm interrupts in rx_poll only when advised
In mtk_star_rx_poll function, on event processing completion, the mtk_star_emac driver calls napi_complete_done but ignores its return code and enable RX DMA interrupts inconditionally. This return code gives the info if a device should avoid rearming its interrupts or not, so fix this behaviour by taking it into account. Fixes: 8c7bd5a454ff ("net: ethernet: mtk-star-emac: new driver") Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Link: https://patch.msgid.link/20250424-mtk_star_emac-fix-spinlock-recursion-issue-v2-2-f3fde2e529d8@collabora.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions