Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a841e81a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: qcrypto: Continue qcrypto init when !DEBUG_FS"

parents 3e68b395 d52ed4d1
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
/*
 * QTI Crypto driver
 *
 * Copyright (c) 2010-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2010-2020, The Linux Foundation. All rights reserved.
 */

#include <linux/module.h>
@@ -5546,12 +5546,9 @@ static int _qcrypto_debug_init(void)

static int __init _qcrypto_init(void)
{
	int rc;
	struct crypto_priv *pcp = &qcrypto_dev;

	rc = _qcrypto_debug_init();
	if (rc)
		return rc;
	_qcrypto_debug_init();
	INIT_LIST_HEAD(&pcp->alg_list);
	INIT_LIST_HEAD(&pcp->engine_list);
	init_llist_head(&pcp->ordered_resp_list);