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

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

Merge "qseecom: Fix ICE create and wipe key issues" into msm-4.9

parents 11e0e93a 4e210f9f
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -5869,7 +5869,8 @@ static int qseecom_create_key(struct qseecom_dev_handle *data,
		 * It will return false if it is GPCE based crypto instance or
		 * ICE is setup properly
		 */
		if (qseecom_enable_ice_setup(create_key_req.usage))
		ret = qseecom_enable_ice_setup(create_key_req.usage);
		if (ret)
			goto free_buf;

		do {
@@ -5998,7 +5999,8 @@ static int qseecom_wipe_key(struct qseecom_dev_handle *data,
		 * It will return false if it is GPCE based crypto instance or
		 * ICE is setup properly
		 */
		if (qseecom_enable_ice_setup(wipe_key_req.usage))
		ret = qseecom_enable_ice_setup(wipe_key_req.usage);
		if (ret)
			goto free_buf;

		ret = __qseecom_set_clear_ce_key(data, wipe_key_req.usage,