summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@nokia.com>2011-06-02 22:10:11 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2011-06-30 03:44:04 +0400
commited635cb85efbeebc974c1c477ddc971f5dcc962e (patch)
tree339b036b365e480962815bcd00a6f1bc23d0c6d0
parent6c63db821d4663c92cd326f6adb8f3d627971a53 (diff)
downloadlinux-ed635cb85efbeebc974c1c477ddc971f5dcc962e.tar.xz
crypto: omap-sham - irq handler must not clear error code
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/omap-sham.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c
index a8de7b890d45..7ca707536f8d 100644
--- a/drivers/crypto/omap-sham.c
+++ b/drivers/crypto/omap-sham.c
@@ -1084,7 +1084,6 @@ static irqreturn_t omap_sham_irq(int irq, void *dev_id)
omap_sham_read(dd, SHA_REG_CTRL);
set_bit(FLAGS_OUTPUT_READY, &dd->flags);
- dd->err = 0;
tasklet_schedule(&dd->done_task);
return IRQ_HANDLED;