OSDN Git Service

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)
commita8ea07c21d40cf17dd9cbe3cbf87d477b26c354f
treeeaa4fd8691ab7d1a2a12d24341af2c98a874e635
parent4bba1e9f41d68279ff2c17db53fbd379692b10bc
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