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

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

Merge "qseecom: check register listener syscall result"

parents 83ba908b 50a15208
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -602,7 +602,8 @@ static int qseecom_scm_call2(uint32_t svc_id, uint32_t tz_cmd_id,
			qseecom.smcinvoke_support = true;
			smc_id = TZ_OS_REGISTER_LISTENER_SMCINVOKE_ID;
			ret = scm_call2(smc_id, &desc);
			if (ret && ret != -EBUSY) {
			if (ret == -EIO) {
				/* smcinvoke is not supported */
				qseecom.smcinvoke_support = false;
				smc_id = TZ_OS_REGISTER_LISTENER_ID;
				ret = scm_call2(smc_id, &desc);