Skip to content
Commit 30e8fe63 authored by Shriram's avatar Shriram Committed by Girish Pathak
Browse files

module/scmi: add response message handler



Add a new function to handle the completion of response message
processing by protocol modules. This function will in-turn call the
release_channel_lock function from the mod_scmi_to_transport api.

This will be used in a scenario where the scmi module has received a
response message for a previously initiated SCMI message. It is assumed
that this response message does not require a further response. So once
the corresponding protocol handles the response message it can call the
response_message_handler() from scmi module to mark the completion.

Without this, we won't be able to process a subsequent scmi message on
the same transport channel since channel context lock would not have
been released for the message for which smt_respond() was not called.

Signed-off-by: Shriram's avatarShriram K <shriram.k@arm.com>
Change-Id: Ibcba5d114ac0f0ad809f12feb2173f6894fd1a54
parent 06d914f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment