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

Commit 8db55d59 authored by AnilKumar Chimata's avatar AnilKumar Chimata Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: hwkm: Move error message to debug



Clear keys after unwrap or kdf as a failsafe, which is
expected to return failure if keyslots are empty. Hence
move error message to debug to avoid unnecessary logs
during normal boot flow.

Change-Id: If8e03ad70df6e0f09ac565bced04b272706a5628
Signed-off-by: default avatarAnilKumar Chimata <anilc@codeaurora.org>
parent adf7870e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -532,7 +532,7 @@ static int qti_handle_keyslot_clear(const struct hwkm_cmd *cmd_in,

	rsp_in->status = rsp[RESPONSE_ERR_IDX];
	if (rsp_in->status) {
		pr_err("%s: KEYSLOT_CLEAR error status 0x%x\n",
		pr_debug("%s: KEYSLOT_CLEAR error status 0x%x\n",
				__func__, rsp_in->status);
		return rsp_in->status;
	}