crypto: atmel - return appropriate error code
authorTudor-Dan Ambarus <tudor.ambarus@microchip.com>
Mon, 23 Oct 2017 15:34:39 +0000 (18:34 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Nov 2017 14:11:23 +0000 (22:11 +0800)
commit3c88761e8a7bee9252c6ed1e2552eb0cfefa521d
tree3287e45db155891157dfeed6dcea5f1c62639d94
parentaba973c69e3658e3190d8983eed7dddd3c44dd1e
crypto: atmel - return appropriate error code

Return -ENODEV when dma_request_slave_channel_compat() fails.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-aes.c
drivers/crypto/atmel-sha.c
drivers/crypto/atmel-tdes.c