OSDN Git Service

crypto: atmel-aes - Retire dma_request_slave_channel_compat()
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 21 Nov 2019 10:16:00 +0000 (12:16 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Dec 2019 08:36:05 +0000 (16:36 +0800)
commit62f72cbdcf025368361b88de9579956d5362701f
treec46b09beef449ecc66ed84bf775a2bfcc28df7df
parent2452cfdf477115426cbbee99e641120057ccfdba
crypto: atmel-aes - 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-aes.c