crypto: hisilicon - use sgl API to get sgl dma addr and len
authorZhou Wang <wangzhou1@hisilicon.com>
Sat, 26 Oct 2019 02:57:21 +0000 (10:57 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Nov 2019 05:42:47 +0000 (13:42 +0800)
commitf0c8b6a1e1454f1645463e8ffb3e027fc597867c
tree7877744963b82a80c7b011d6539df2050ca8b6dd
parentb95bba5d01141ba919c99ea6fde206727f3b3eb4
crypto: hisilicon - use sgl API to get sgl dma addr and len

Use sgl API to get sgl dma addr and len, this will help to avoid compile
error in some platforms. So NEED_SG_DMA_LENGTH can be removed here, which
can only be selected by arch code.

Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
Suggested-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/Kconfig
drivers/crypto/hisilicon/sgl.c