crypto: caam - Add API's to allocate/free Job Rings
authorRuchika Gupta <ruchika.gupta@freescale.com>
Fri, 25 Oct 2013 06:31:02 +0000 (12:01 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 Oct 2013 04:02:57 +0000 (12:02 +0800)
commit07defbfb0fd662272dff5207001a0a5e09aeaeec
tree8a62247e570d9cdad5fec0a31d494c76e532a4b3
parent313ea293e9c4d1eabcaddd2c0800f083b03c2a2e
crypto: caam - Add API's to allocate/free Job Rings

With each of the Job Ring available as a platform device, the
Job Ring driver needs to take care of allocation/deallocation
of the Job Rings to the above interface layers. Added APIs
in Job Ring Driver to allocate/free Job rings

Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Reviewed-by: Garg Vakul-B16394 <vakul@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/intern.h
drivers/crypto/caam/jr.c
drivers/crypto/caam/jr.h