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

Commit dba1642a authored by Saranya Chidura's avatar Saranya Chidura
Browse files

Revert "soc: qcom: dcc_v2: Disable DCC on secure devices"



This reverts 'commit <27fbce23> ("soc: qcom: dcc_v2:
Disable DCC on secure devices")'

It removes the check on which device the DCC is registering in
the module init.

Change-Id: Ic72ee0ad4d5f2583fc511633376f4f7d0d5970ea
Signed-off-by: default avatarSaranya Chidura <schidura@codeaurora.org>
parent 21a1b0f4
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1610,14 +1610,6 @@ static struct platform_driver dcc_driver = {

static int __init dcc_init(void)
{
	int ret;

	ret = scm_is_secure_device();
	if (ret == 0) {
		pr_info("DCC is not available\n");
		return -ENODEV;
	}

	return platform_driver_register(&dcc_driver);
}
pure_initcall(dcc_init);