mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 12:24:32 +00:00
framework/rt_config: Remove over cautious error checking.
Previously when validating cpufreq runtime parameters it would check too early whether the cpu was online, not allowing for the fact that the cpu might be being onlined before the parameter was committed to the device.
This commit is contained in:
parent
3cf789e352
commit
776a4d850b
@ -516,10 +516,6 @@ class CpufreqRuntimeConfig(RuntimeConfig):
|
||||
def validate_parameters(self):
|
||||
'''Method to validate parameters against each other'''
|
||||
for cpu in self.config:
|
||||
if cpu not in self.target.list_online_cpus():
|
||||
msg = 'Cannot configure frequencies for {} as no CPUs are online.'
|
||||
raise TargetError(msg.format(cpu))
|
||||
|
||||
config = self.config[cpu]
|
||||
minf = config.get('min_frequency')
|
||||
maxf = config.get('max_frequency')
|
||||
|
Loading…
x
Reference in New Issue
Block a user