]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: atmel-aes - fix atmel_aes_handle_queue()
authorCyrille Pitchen <cyrille.pitchen@atmel.com>
Thu, 26 Jan 2017 16:07:55 +0000 (17:07 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Feb 2017 10:16:14 +0000 (18:16 +0800)
commitc0d8a82b69669f92aa82a900e2cfa99fd6c742b4
treebfd50505dec820a77b74a9f8de1ddbc19e2328eb
parent04684c09654ae67c0792dbde941f3bf60cf39d5d
crypto: atmel-aes - fix atmel_aes_handle_queue()

This patch fixes the value returned by atmel_aes_handle_queue(), which
could have been wrong previously when the crypto request was started
synchronously but became asynchronous during the ctx->start() call.

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-aes.c