]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: atmel-sha - Retire dma_request_slave_channel_compat()
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 21 Nov 2019 10:16:01 +0000 (12:16 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Dec 2019 08:36:05 +0000 (16:36 +0800)
commitdb28512f48e2b343282c4bb4f0a35a2b57d9696e
tree7ca53ecea179bc579b5106453c9a56da1a0d07cd
parent62f72cbdcf025368361b88de9579956d5362701f
crypto: atmel-sha - 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-sha.c