]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: ccp - Account for CCP backlog processing
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 24 Feb 2014 14:42:14 +0000 (08:42 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 26 Feb 2014 21:57:01 +0000 (05:57 +0800)
commitc65a52f8360dc29116395708bde18399e4699f87
tree82e139cf4cde4bcb172aa94243a015590ab645aa
parent950b10bae656d7edf5e2047bf0c9205980f49f2c
crypto: ccp - Account for CCP backlog processing

When the crypto layer is able to queue up a command for processing
by the CCP on the initial call to ccp_crypto_enqueue_request and
the CCP returns -EBUSY, then if the backlog flag is not set the
command needs to be freed and not added to the active command list.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-crypto-main.c