crypto: ccp - Update the command queue on errors
authorGary R Hook <gary.hook@amd.com>
Thu, 9 Feb 2017 21:49:57 +0000 (15:49 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 15 Feb 2017 05:23:34 +0000 (13:23 +0800)
commit4cdf101ef444e47bc8869ef3e90396e828fd9b61
treedbea4b6ab8c2f394e1299e06b49bd32caa285c29
parenta60496a0ca0d34a3ae92e426138eab35f0f45612
crypto: ccp - Update the command queue on errors

Move the command queue tail pointer when an error is
detected. Always return the error.

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dev-v5.c