]> git.sur5r.net Git - u-boot/commit
drivers/crypto/fsl: correct error checking in run_descriptor
authorAneesh Bansal <aneesh.bansal@nxp.com>
Thu, 11 Feb 2016 09:06:51 +0000 (14:36 +0530)
committerYork Sun <york.sun@nxp.com>
Mon, 21 Mar 2016 19:42:11 +0000 (12:42 -0700)
commit6178e9597806033529fdd52c1678f3a7c92510d5
tree135f50b9a56ea4181c32d7ae6228d1e372d8f410
parentabc7d0f75c078524f713cb2d4b4efe1b1a122c60
drivers/crypto/fsl: correct error checking in run_descriptor

When CAAM runs a descriptor and an error occurs, a non-zero
value is set in Output Status Register. The if condition should
check the status for a non-zero value.

Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/crypto/fsl/jr.c