crypto: tegra-aes - bitwise vs logical and
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 20 Aug 2013 08:54:48 +0000 (11:54 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 21 Aug 2013 11:28:07 +0000 (21:28 +1000)
The bug here is that:

while (eng_busy & (!icq_empty) & dma_busy)

is never true because it's using bitwise instead of logical ANDs.  The
other bitwise AND conditions work as intended but I changed them as well
for consistency.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found