crypto: caam - fix RNG init descriptor ret. code checking
authorHoria Geant? <horia.geanta@freescale.com>
Fri, 17 Jul 2015 13:54:53 +0000 (16:54 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 20 Jul 2015 07:53:42 +0000 (15:53 +0800)
commit62743a4145bb9c3fe090a48e10ddc0ebae85bfbf
tree0c86f249388cb54aa11d7f0923d87c5fd68b188a
parentf109674951440912b645de2761d5d851e261af98
crypto: caam - fix RNG init descriptor ret. code checking

When successful, the descriptor that performs RNG initialization
is allowed to return a status code of 7000_0000h, since last command
in the descriptor is a JUMP HALT.

Signed-off-by: Horia Geant? <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c