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)
commite8a4529d4598467577b847a8ace14ecc479e4f64
treeda41f8eb725b04bc8ad4faaafb3970ea2a6ecfc5
parent6535cbc490713b69333a183fcc2cae1e5f28eea1
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