crypto: inside-secure - use the error handler for invalidation requests
authorAntoine Tenart <antoine.tenart@bootlin.com>
Tue, 29 May 2018 12:13:43 +0000 (14:13 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Jun 2018 15:03:00 +0000 (23:03 +0800)
commitcda3e73a54971e38a7388db0132c3681eab87847
treec96d6fd94be45c9d4478d3aa1cbc4a653d6e5194
parentce43b2e351c860bc50151b3ddc190b92a7536c8e
crypto: inside-secure - use the error handler for invalidation requests

This patch reworks the way invalidation request handlers handle the
result descriptor errors, to use the common error handling function.
This improves the drivers in terms of readability and maintainability.

Suggested-by: Ofer Heifetz <oferh@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel_cipher.c
drivers/crypto/inside-secure/safexcel_hash.c