Skip to content
Commit 7cc05071 authored by Hui Tang's avatar Hui Tang Committed by Herbert Xu
Browse files

crypto: qat - fix use of 'dma_map_single'



DMA_TO_DEVICE synchronisation must be done after the last modification
of the memory region by the software and before it is handed off to
the device.

Signed-off-by: default avatarHui Tang <tanghui20@huawei.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 792b32fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment