crypto: hifn_795x - Fix queue management
authorEvgeniy Polyakov <zbr@ioremap.net>
Mon, 24 Nov 2008 14:04:39 +0000 (22:04 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Dec 2008 00:01:58 +0000 (11:01 +1100)
commitd6a10c84a2a2b08bdd637852c9cc42c41e109b25
treeaf647d711f4970ace66cdbc488389fedfd745761
parent3ec858de6468e810953e41b8c154a0d605b25d68
crypto: hifn_795x - Fix queue management

Fix queue management. Change ring size and perform its check not
one after another descriptor, but using stored pointers to the last
checked descriptors.

Signed-off-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hifn_795x.c