Skip to content
Commit 3d633f35 authored by Leandro Belli's avatar Leandro Belli 👾 Committed by Girish Pathak
Browse files

scmi_clock: Return the SCMI agent's state instead of the physical state



The current method of reading the clock state calls the Clock HAL directly,
which can cause inconsistencies between what is being read by Clock Hal and
what is being set in the SCMI agent state table.
To address this, the existing `scmi_clock_get_agent_clock_state`
helper function is used to read the clock state in relation to the
requesting SCMI agent.
i.e. function returns the state expected by SCMI agent.

Signed-off-by: Leandro Belli's avatarLeandro Belli <leandro.belli@arm.com>
Signed-off-by: Mohamed Omar Asaker's avatarMohamed Omar Asaker <mohamed.omarasaker@arm.com>
Change-Id: I8f0f00dc06eecd21803983837f3a7f27d0033723
parent d0ca6b58
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