In commit4d370a1036("crypto: caam - change return code in caam_jr_enqueue function"), the return code of caam_jr_enqueue function was changed from 0 to -EINPROGRESS, in case of success, -ENOSPC in case the CAAM is busy (has no space left in job ring queue), -EIO if it cannot map the caller's descriptor. Update the case for wait_for_completion in sk_job_submit based on the new return code from caam_jr_enqueue function. Fixes:4d370a1036("crypto: caam - change return code in caam_jr_enqueue function") Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com>