summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/omap-sham.c
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@nokia.com>2011-06-02 20:10:11 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2011-06-30 01:44:04 +0200
commited635cb85efbeebc974c1c477ddc971f5dcc962e (patch)
tree339b036b365e480962815bcd00a6f1bc23d0c6d0 /drivers/crypto/omap-sham.c
parentcrypto: omap-sham - irq and dma handling changes (diff)
downloadlinux-ed635cb85efbeebc974c1c477ddc971f5dcc962e.tar.xz
linux-ed635cb85efbeebc974c1c477ddc971f5dcc962e.zip
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>
Diffstat (limited to 'drivers/crypto/omap-sham.c')
-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;