linux/drivers/crypto/caam
Nitesh Lal 0a63b09dd6 crypto: caam - Fix job ring discovery in controller driver
The SEC Controller driver creates platform devices for it's child job ring nodes.
Currently the driver uses for_each_compatible routine which traverses
the whole device tree to create the job rings for the platform device.
The patch changes this to search for the compatible property of job ring
only in the child nodes i.e., the job rings are created as per the number
of children associated with the crypto node.

Signed-off-by: Nitesh Lal <NiteshNarayanLal@freescale.com>
Reviewed-by: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2014-02-09 09:59:13 +08:00
..
caamalg.c crypto: caam - simplify and harden key parsing 2013-12-20 20:06:27 +08:00
caamhash.c crypto: caam - Modify the interface layers to use JR API's 2013-10-30 12:02:58 +08:00
caamrng.c crypto: caam - Modify the interface layers to use JR API's 2013-10-30 12:02:58 +08:00
compat.h Revert "crypto: caam - add IPsec ESN support" 2013-03-21 17:36:03 +08:00
ctrl.c crypto: caam - Fix job ring discovery in controller driver 2014-02-09 09:59:13 +08:00
ctrl.h crypto: caam - ERA retrieval and printing for SEC device 2012-07-11 11:06:11 +08:00
desc_constr.h crypto: caam - Moved macro DESC_JOB_IO_LEN to desc_constr.h 2013-07-10 16:53:28 +10:00
desc.h crypto: caam - fix RNG4 AAI defines 2013-09-13 21:43:55 +10:00
error.c crypto: caam - static constify error data 2013-04-25 21:01:43 +08:00
error.h crypto: caam - fix printk recursion for long error texts 2011-05-04 15:15:06 +10:00
intern.h crypto: caam - Modify the interface layers to use JR API's 2013-10-30 12:02:58 +08:00
jr.c crypto: caam - Add missing Job Ring include 2013-11-26 20:59:27 +08:00
jr.h crypto: caam - Add API's to allocate/free Job Rings 2013-10-30 12:02:57 +08:00
Kconfig crypto: caam - Add Platform driver for Job Ring 2013-10-30 12:02:57 +08:00
key_gen.c crypto: caam - replace xstr macro with __stringify 2013-08-21 21:08:36 +10:00
key_gen.h crypto: caam - change key gen functions to return signed int 2013-04-25 21:01:43 +08:00
Makefile crypto: caam - Add Platform driver for Job Ring 2013-10-30 12:02:57 +08:00
pdb.h crypto: caam - Add define for Adjust Output Frame Length in PDB 2013-05-28 15:37:08 +08:00
regs.h crypto: caam - enable instantiation of all RNG4 state handles 2013-09-13 21:43:56 +10:00
sg_sw_sec4.h crypto: caam - map src buffer before access 2013-09-24 06:02:20 +10:00