]> 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)
commita1f613f167a36610d238b66f5e49bfdb1d04aa89
treebfd50505dec820a77b74a9f8de1ddbc19e2328eb
parent81d8750b2b59cd4e0fe4bf4fcf64e5348686c1f0
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