common/octeontx2: retry interrupt callback unregister
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Thu, 11 Jun 2020 07:26:04 +0000 (12:56 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:52 +0000 (06:18 +0200)
commitff46ba738593306df86c7fed5988cd079df35a19
tree8def1e81a26c1c3842f5ee88ff2552e7760609dd
parent112510aece9f3ca33ca37c5b5ec6031a58fb0bd4
common/octeontx2: retry interrupt callback unregister

Interrupt callback unregister can fail with -EAGAIN
when interrupt handler is active in interrupt thread.
Hence retry before reporting a failure or proceeding further.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/octeontx2/otx2_irq.c