Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux-3.10.git] / drivers / crypto / caam / ctrl.c
index 8acf004..6e94bcd 100644 (file)
@@ -304,6 +304,9 @@ static int caam_probe(struct platform_device *pdev)
                        caam_remove(pdev);
                        return ret;
                }
+
+               /* Enable RDB bit so that RNG works faster */
+               setbits32(&topregs->ctrl.scfgr, SCFGR_RDBENABLE);
        }
 
        /* NOTE: RTIC detection ought to go here, around Si time */