Re: [PATCH] crypto: caam - Fix job ring discovery in controller driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/24/2014 11:03 AM, Nitesh Lal wrote:
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@xxxxxxxxxxxxx>
---
  drivers/crypto/caam/ctrl.c | 25 ++++++-------------------
  1 file changed, 6 insertions(+), 19 deletions(-)

Reviewed-by: Horia Geanta <horia.geanta@xxxxxxxxxxxxx>

Regards,
Horia


--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux