crypto: ccp - Prevent a possible lost CCP command request
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 24 Feb 2014 14:42:02 +0000 (08:42 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 26 Feb 2014 21:57:00 +0000 (05:57 +0800)
commit0611451b4e78ecb77b3323657f2ab4aadd6d28b3
tree0b8ae396f8cf95d415bb5c0309ab7840613474a9
parentf829e7a32c9434e31e565bc79f5804a7a984c10f
crypto: ccp - Prevent a possible lost CCP command request

If a CCP command has been queued for processing at the
crypto layer then, when dequeueing it for processing, the
"can backlog" flag must be set so that the request isn't
lost if the CCP backlog queue limit is reached.

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