commit | 082a9d0918d2aae48dc3b836a8e3ca6aa53d2495 | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Mon May 27 16:50:58 2019 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jun 06 14:38:56 2019 +0800 |
tree | 857bf8fa313dc94929f16caa62721db98ca5b466 | |
parent | 942d849d32d0126442bdf7a4052bb46fbf23a3c6 [diff] |
crypto: inside-secure - change returned error when a descriptor reports an error This patch changes the error reported by the Inside Secure SafeXcel driver when a result descriptor reports an error, from -EIO to -EINVAL, as this is what the crypto framework expects. This was found while running the crypto extra tests. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>