summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-slave-time.c
diff options
context:
space:
mode:
authorDwip N. Banerjee <dnbanerg@us.ibm.com>2020-11-18 19:12:23 -0600
committerJakub Kicinski <kuba@kernel.org>2020-11-20 19:50:34 -0800
commitec20f36bb41aec786407b525ac1c2ba982c925fd (patch)
tree5aa4b3fe25513836126ee318afbd68e54787905f /drivers/spi/spi-slave-time.c
parent9a87c3fca2372af3177cb454c7aa381c7080307f (diff)
ibmvnic: Correctly re-enable interrupts in NAPI polling routine
If the current NAPI polling loop exits without completing it's budget, only re-enable interrupts if there are no entries remaining in the queue and napi_complete_done is successful. If there are entries remaining on the queue that were missed, restart the polling loop. Signed-off-by: Dwip N. Banerjee <dnbanerg@us.ibm.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/spi/spi-slave-time.c')
0 files changed, 0 insertions, 0 deletions