[PATCH 6.1 074/772] crypto: cavium - Fix the if condition to exit loop after timeout