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

Commit 1ff01511 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "qseecom: use legacy command for bgapp"

parents 0118f8ac 4887bbce
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
/*
 * QTI Secure Execution Environment Communicator (QSEECOM) driver
 *
 * Copyright (c) 2012-2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
 *
 * 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
@@ -5063,8 +5063,10 @@ int qseecom_send_command(struct qseecom_handle *handle, void *send_buf,
		}
		perf_enabled = true;
	}
	if (!strcmp(data->client.app_name, "securemm"))
	if (!strcmp(data->client.app_name, "securemm") ||
	    !strcmp(data->client.app_name, "bgapp")) {
		data->use_legacy_cmd = true;
	}

	ret = __qseecom_send_cmd(data, &req);
	data->use_legacy_cmd = false;