]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: atmel-tdes - Retire dma_request_slave_channel_compat()
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 21 Nov 2019 10:16:02 +0000 (12:16 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Dec 2019 08:36:06 +0000 (16:36 +0800)
commit7a0191ab081a356edc7e5dc9ca7e02f53767a66d
tree379a343c1f71014d825ac3a25226ee6d1444a864
parentafa73d4ff9bd5872aca6711d52001ed6e470e247
crypto: atmel-tdes - Retire dma_request_slave_channel_compat()

The driver no longer boots in legacy mode, only via DT. This makes the
dma_request_slave_channel_compat() redundant.
If ever the filter function would be executed it will return false as the
dma_slave is not really initialized.

Switch to use dma_request_chan() which would allow legacy boot if ever
needed again by configuring dma_slave_map for the DMA driver.

At the same time skip allocating memory for dma_slave as it is not used
anymore.

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