RISCV: config: tizen_visionfive2: Disable JH7110 crypto driver
[platform/kernel/linux-starfive.git] / drivers / crypto / sa2ul.c
index 6238d34..94eb6f6 100644 (file)
@@ -1869,9 +1869,8 @@ static int sa_aead_setkey(struct crypto_aead *authenc,
        crypto_aead_set_flags(ctx->fallback.aead,
                              crypto_aead_get_flags(authenc) &
                              CRYPTO_TFM_REQ_MASK);
-       crypto_aead_setkey(ctx->fallback.aead, key, keylen);
 
-       return 0;
+       return crypto_aead_setkey(ctx->fallback.aead, key, keylen);
 }
 
 static int sa_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize)