commit | 6c63db821d4663c92cd326f6adb8f3d627971a53 | [log] [tgz] |
---|---|---|
author | Dmitry Kasatkin <dmitry.kasatkin@nokia.com> | Thu Jun 02 21:10:10 2011 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Jun 30 07:44:04 2011 +0800 |
tree | 733b36b077b4cca37f2f9d7846745564ed8fc2f2 | |
parent | 6cb3ffe100ef4c6d5be0bfe4f8ac6d4227bb91bd [diff] |
crypto: omap-sham - irq and dma handling changes It could be a situation, that tasklet is executed twice because of certain delay between dma callback and irq handler execution. In that case, second tasklet execution could actually corrupt the data of the new started dma transactions. This patch improves tasklet logic and prevents above described cases. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>