Merge "qseecom: use legacy command for bgapp"
diff --git a/drivers/misc/qseecom.c b/drivers/misc/qseecom.c
index e238cb4..a64e445 100644
--- a/drivers/misc/qseecom.c
+++ b/drivers/misc/qseecom.c
@@ -1,7 +1,7 @@
/*
* 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 @@
}
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;