diff options
author | Ruchika Gupta <ruchika.gupta@freescale.com> | 2014-07-07 10:42:12 +0530 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-07-10 16:50:33 +0800 |
commit | 35af64038623865015d1786360cdbbcc2e72d78b (patch) | |
tree | 6cf62a6f27b022c33f9d2029692730cbba750958 /drivers/crypto/qat/qat_common/qat_hal.c | |
parent | 5b635e280efce5b735042c7ffa2487c4ba8fb4bf (diff) | |
download | op-kernel-dev-35af64038623865015d1786360cdbbcc2e72d78b.zip op-kernel-dev-35af64038623865015d1786360cdbbcc2e72d78b.tar.gz |
crypto: caam - Check for CAAM block presence before registering with crypto layer
The layer which registers with the crypto API should check for the presence of
the CAAM device it is going to use. If the platform's device tree doesn't have
the required CAAM node, the layer should return an error and not register the
algorithms with crypto API layer.
Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_common/qat_hal.c')
0 files changed, 0 insertions, 0 deletions