]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sa2ul - Support for per channel coherency
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 13 Apr 2021 09:15:58 +0000 (14:45 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Apr 2021 07:31:30 +0000 (17:31 +1000)
commit9eea99d3e417b8f2f2e7f944b277785a026378ac
treeda41f8eb725b04bc8ad4faaafb3970ea2a6ecfc5
parent5993af8ea239c4e233f8833fad46a6ae6dbbd364
crypto: sa2ul - Support for per channel coherency

On AM64 the DMA channel for sa2ul can be configured to be coherent or
non coherent via DT binding.

Use the dmaengine_get_device_for_dma_api() to get the device pointer which
should be used for with the dma_api to use matching dma_ops for the
channel coherency/non coherency.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Vaibhav Gupta <v_gupta@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sa2ul.c