From: Alex Porosanu Date: Mon, 9 Sep 2013 15:56:29 +0000 (+0300) Subject: crypto: caam - fix hash, alg and rng registration if CAAM driver not initialized X-Git-Tag: v3.13-rc2~35^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2744dfd39c51e6fd56e79ff2eabf9953d45027e;p=pandora-kernel.git crypto: caam - fix hash, alg and rng registration if CAAM driver not initialized If the CAAM driver initialization failed (due to various reasons, e.g. RNG4 initialization failed), then the registration of hash/algorithms/rng shouldn't take place. This patch adds the necessary code to prevent this registration. Signed-off-by: Alex Porosanu Signed-off-by: Herbert Xu --- Reading git-diff-tree failed