OSDN Git Service

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)
commit45a536e3a7e0aeba257c708e023482df3b4ec052
tree379a343c1f71014d825ac3a25226ee6d1444a864
parentdb28512f48e2b343282c4bb4f0a35a2b57d9696e
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