]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam - only query h/w in job ring dequeue path
authorKim Phillips <kim.phillips@freescale.com>
Sat, 23 Jun 2012 00:48:55 +0000 (19:48 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 27 Jun 2012 06:42:07 +0000 (14:42 +0800)
commit652622d296a50625445d86748fcada4814896b1d
treeeaa4fd8691ab7d1a2a12d24341af2c98a874e635
parenta3862182c0deca37daf8e50374761991c9986c06
crypto: caam - only query h/w in job ring dequeue path

Code was needlessly checking the s/w job ring when there
would be nothing to process if the h/w's output completion
ring were empty anyway.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/jr.c