[PATCH 5.15 098/565] crypto: cavium - Fix the if condition to exit loop after timeout