]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/crypto/caam/ctrl.c
brcm: adds support for BCM43341 wifi
[mirror_ubuntu-zesty-kernel.git] / drivers / crypto / caam / ctrl.c
index 755109841cfdefb57c3cd77631970dc402835bac..6092252ce6caf89e023e3fdc31681df12af6c22f 100644 (file)
@@ -282,7 +282,8 @@ static int deinstantiate_rng(struct device *ctrldev, int state_handle_mask)
                        /* Try to run it through DECO0 */
                        ret = run_descriptor_deco0(ctrldev, desc, &status);
 
-                       if (ret || status) {
+                       if (ret ||
+                           (status && status != JRSTA_SSRC_JUMP_HALT_CC)) {
                                dev_err(ctrldev,
                                        "Failed to deinstantiate RNG4 SH%d\n",
                                        sh_idx);