fix(sys-clk-oc): fix governor not setting clocks correctly: fixes #1
- move hz check from ApplyTargetFreq to caller
This commit is contained in:
@@ -97,7 +97,7 @@ namespace GovernorImpl {
|
||||
void ApplyNewFreqFromNormUtil(uint32_t norm);
|
||||
|
||||
void ApplyTargetFreq(uint32_t hz) {
|
||||
if (!hz || m_target_hz == hz)
|
||||
if (!hz)
|
||||
return;
|
||||
|
||||
m_target_hz = hz;
|
||||
|
||||
Reference in New Issue
Block a user