crypto: omap-aes - redundant locking is removed
authorDmitry Kasatkin <dmitry.kasatkin@nokia.com>
Tue, 30 Nov 2010 08:13:28 +0000 (10:13 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 2 Dec 2010 08:37:06 +0000 (16:37 +0800)
commiteeb2b202c5b886b76c3bfa76f47e450fa69389fb
tree8d7c63122112203a5227639e42e418b068f0d1d5
parent3bd2e2216bc82a83fc5048f8e61d2d22dd5d9cda
crypto: omap-aes - redundant locking is removed

Submitting request involved double locking for enqueuing and
dequeuing. Now it is done under the same lock.

FLAGS_BUSY is now handled under the same lock.

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-aes.c