diff options
author | Nitesh Lal <NiteshNarayanLal@freescale.com> | 2014-02-09 09:59:13 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-02-09 09:59:13 +0800 |
commit | 0a63b09dd6e321d4488347d6283685d08ee4bb7f (patch) | |
tree | dd9d1fa809db7f89f1f662138b6e831b83dd28a9 /drivers/crypto/omap-aes.c | |
parent | 2021abaa00da64a4b98948c93bf31a55386cd2d0 (diff) |
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>
Diffstat (limited to 'drivers/crypto/omap-aes.c')
0 files changed, 0 insertions, 0 deletions