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: AnilKumar Chimata <anilc@codeaurora.org>
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
adf7870ebe
commit
8db55d596a
@@ -532,7 +532,7 @@ static int qti_handle_keyslot_clear(const struct hwkm_cmd *cmd_in,
|
|||||||
|
|
||||||
rsp_in->status = rsp[RESPONSE_ERR_IDX];
|
rsp_in->status = rsp[RESPONSE_ERR_IDX];
|
||||||
if (rsp_in->status) {
|
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);
|
__func__, rsp_in->status);
|
||||||
return rsp_in->status;
|
return rsp_in->status;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user