can: xilinx_can: Add check for NAPI Poll function
authorSrinivas Neeli <srinivas.neeli@xilinx.com>
Tue, 8 Feb 2022 16:20:53 +0000 (21:50 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 24 Feb 2022 07:26:04 +0000 (08:26 +0100)
commit2206fcbc1090bdcf7058d8c9bbc1a147c7359cfa
tree3cd706852a32e22e83eee6532ad3650105851983
parent51ae468aa7e412315203d13ef387751f0c58c55c
can: xilinx_can: Add check for NAPI Poll function

Add check for NAPI poll function to avoid enabling interrupts
with out completing the NAPI call.

Link: https://lore.kernel.org/all/20220208162053.39896-1-srinivas.neeli@xilinx.com
Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/xilinx_can.c