[PATCH 6.6 088/676] crypto: cavium - Fix the if condition to exit loop after timeout