[PATCH 6.11 108/817] crypto: cavium - Fix the if condition to exit loop after timeout