diff options
author | David S. Miller <davem@davemloft.net> | 2014-09-24 22:48:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-24 22:48:32 +0200 |
commit | 4daaab4f0c2b55adccab08da06e17acc270cb84a (patch) | |
tree | 41dfea3867755d3853218d50533c5600ac8fa6c0 /drivers/crypto/ccp/ccp-crypto-main.c | |
parent | vxlan: Fix bug introduced by commit acbf74a76300 (diff) | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
download | linux-4daaab4f0c2b55adccab08da06e17acc270cb84a.tar.xz linux-4daaab4f0c2b55adccab08da06e17acc270cb84a.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Diffstat (limited to 'drivers/crypto/ccp/ccp-crypto-main.c')
-rw-r--r-- | drivers/crypto/ccp/ccp-crypto-main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/crypto/ccp/ccp-crypto-main.c b/drivers/crypto/ccp/ccp-crypto-main.c index 20dc848481e7..4d4e016d755b 100644 --- a/drivers/crypto/ccp/ccp-crypto-main.c +++ b/drivers/crypto/ccp/ccp-crypto-main.c @@ -367,6 +367,10 @@ static int ccp_crypto_init(void) { int ret; + ret = ccp_present(); + if (ret) + return ret; + spin_lock_init(&req_queue_lock); INIT_LIST_HEAD(&req_queue.cmds); req_queue.backlog = &req_queue.cmds; |