]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: atmel - Fix dma_unmap_sg() direction
authorThomas Fourier <fourier.thomas@gmail.com>
Wed, 3 Sep 2025 08:34:46 +0000 (10:34 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 13 Sep 2025 04:11:05 +0000 (12:11 +0800)
commitf5d643156ef62216955c119216d2f3815bd51cb1
treeee2c6a481dfcc5df0634ebcb6257825b5971be5d
parent21140e5caf019e4a24e1ceabcaaa16bd693b393f
crypto: atmel - Fix dma_unmap_sg() direction

It seems like everywhere in this file, dd->in_sg is mapped with
DMA_TO_DEVICE and dd->out_sg is mapped with DMA_FROM_DEVICE.

Fixes: 13802005d8f2 ("crypto: atmel - add Atmel DES/TDES driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-tdes.c