Re: [PATCH] crypto: marvell/octeontx - Use dma_set_mask_and_coherent to simplify code

From: Herbert Xu
Date: Fri Nov 27 2020 - 01:28:02 EST


On Sat, Nov 21, 2020 at 08:49:16AM +0100, Christophe JAILLET wrote:
> 'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by
> an equivalent 'dma_set_mask_and_coherent()' which is much less verbose.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> drivers/crypto/marvell/octeontx/otx_cptpf_main.c | 10 ++--------
> drivers/crypto/marvell/octeontx/otx_cptvf_main.c | 10 ++--------
> 2 files changed, 4 insertions(+), 16 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt