commit | 3ab29d7f58f5b87d701a11a117241f9dc6252d5c | [log] [tgz] |
---|---|---|
author | Aneesh Bansal <aneesh.bansal@nxp.com> | Thu Feb 11 14:36:51 2016 +0530 |
committer | York Sun <york.sun@nxp.com> | Mon Mar 21 12:42:11 2016 -0700 |
tree | 135f50b9a56ea4181c32d7ae6228d1e372d8f410 | |
parent | 8c7ce82bfe72b3306995b29f5d8c786ceb3551cc [diff] |
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>