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

Commit 842dc26b authored by Swetha Chikkaboraiah's avatar Swetha Chikkaboraiah Committed by Gerrit - the friendly Code Review server
Browse files

uio: msm_sharedmem: By pass failure for hyp_assign_phys



For legacy targets hypervisor is not supported.
So by pass hyp_assign_phys failure.

Change-Id: Iabd301d577922e066cf6aa9257735d60f968dc69
Signed-off-by: default avatarSwetha Chikkaboraiah <schikk@codeaurora.org>
parent a2c17c17
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
 */

#define DRIVER_NAME "msm_sharedmem"
@@ -186,11 +186,8 @@ static int msm_sharedmem_probe(struct platform_device *pdev)
			"qcom,vm-nav-path");

	/* Set up the permissions for the shared ram that was allocated. */
	ret = setup_shared_ram_perms(client_id, shared_mem_pyhsical,
	setup_shared_ram_perms(client_id, shared_mem_pyhsical,
					shared_mem_size, vm_nav_path);
	if (ret)
		goto out;

	/* Setup device */
	info->mmap = sharedmem_mmap; /* Custom mmap function. */
	info->name = clnt_res->name;