diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/talitos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index b8ca58394f05..bd9e2ca0728c 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c | |||
@@ -302,9 +302,6 @@ static int talitos_submit(struct device *dev, int ch, struct talitos_desc *desc, | |||
302 | unsigned long flags; | 302 | unsigned long flags; |
303 | int head; | 303 | int head; |
304 | 304 | ||
305 | /* select done notification */ | ||
306 | desc->hdr |= DESC_HDR_DONE_NOTIFY; | ||
307 | |||
308 | spin_lock_irqsave(&priv->chan[ch].head_lock, flags); | 305 | spin_lock_irqsave(&priv->chan[ch].head_lock, flags); |
309 | 306 | ||
310 | if (!atomic_inc_not_zero(&priv->chan[ch].submit_count)) { | 307 | if (!atomic_inc_not_zero(&priv->chan[ch].submit_count)) { |
@@ -2264,6 +2261,9 @@ static int talitos_cra_init(struct crypto_tfm *tfm) | |||
2264 | /* copy descriptor header template value */ | 2261 | /* copy descriptor header template value */ |
2265 | ctx->desc_hdr_template = talitos_alg->algt.desc_hdr_template; | 2262 | ctx->desc_hdr_template = talitos_alg->algt.desc_hdr_template; |
2266 | 2263 | ||
2264 | /* select done notification */ | ||
2265 | ctx->desc_hdr_template |= DESC_HDR_DONE_NOTIFY; | ||
2266 | |||
2267 | return 0; | 2267 | return 0; |
2268 | } | 2268 | } |
2269 | 2269 | ||