Revert "crypto: allwinner - Fix dma_map_sg error check"
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Sep 2022 10:19:27 +0000 (18:19 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Sep 2022 10:19:27 +0000 (18:19 +0800)
commit2ad548ebb85cc416587ba68c0e530a2f00b2273a
treee32e8a004e5f8098fdbb687f171c7b2c3b66b446
parentfb1e1257b0cb93328f2909755b0fa2dc582cc508
Revert "crypto: allwinner - Fix dma_map_sg error check"

This reverts commit 2b02187bdb0bb75000850bd0309e70eb8664159e.

The original code was correct and arguably more robust than the
patched version.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c