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

Commit d8327478 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge efbe639e on remote branch

Change-Id: I2eb6ece982a2d6d627803a322a60ea168944ca95
parents 9a60ac16 efbe639e
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -2,6 +2,7 @@
 * SMC Invoke driver
 * SMC Invoke driver
 *
 *
 * Copyright (c) 2016-2017,2019 The Linux Foundation. All rights reserved.
 * Copyright (c) 2016-2017,2019 The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * it under the terms of the GNU General Public License version 2 and
@@ -173,9 +174,9 @@ static int get_fd_from_tzhandle(uint32_t tzhandle, int64_t *fd)
		goto out;
		goto out;


	*fd = unused_fd;
	*fd = unused_fd;
	fd_install(*fd, f);
	((struct smcinvoke_tzobj_context *)
	((struct smcinvoke_tzobj_context *)
			(f->private_data))->tzhandle = tzhandle;
			(f->private_data))->tzhandle = tzhandle;
	fd_install(*fd, f);
	return 0;
	return 0;
out:
out:
	if (unused_fd >= 0)
	if (unused_fd >= 0)