diff options
Diffstat (limited to 'drivers/crypto/ccp/ccp-crypto-main.c')
-rw-r--r-- | drivers/crypto/ccp/ccp-crypto-main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/ccp-crypto-main.c b/drivers/crypto/ccp/ccp-crypto-main.c index 010fded5d46b..9d30d6fbfd3d 100644 --- a/drivers/crypto/ccp/ccp-crypto-main.c +++ b/drivers/crypto/ccp/ccp-crypto-main.c | |||
@@ -174,6 +174,10 @@ static void ccp_crypto_complete(void *data, int err) | |||
174 | 174 | ||
175 | /* Submit the next cmd */ | 175 | /* Submit the next cmd */ |
176 | while (held) { | 176 | while (held) { |
177 | /* Since we have already queued the cmd, we must indicate that | ||
178 | * we can backlog so as not to "lose" this request. | ||
179 | */ | ||
180 | held->cmd->flags |= CCP_CMD_MAY_BACKLOG; | ||
177 | ret = ccp_enqueue_cmd(held->cmd); | 181 | ret = ccp_enqueue_cmd(held->cmd); |
178 | if (ccp_crypto_success(ret)) | 182 | if (ccp_crypto_success(ret)) |
179 | break; | 183 | break; |