mirror of
https://github.com/apache/nuttx.git
synced 2026-08-14 17:03:29 +00:00
The cached devfreq->cur may become stale when the hardware frequency is changed externally (e.g. by another core or governor). This causes driver_target to incorrectly skip frequency transitions when the target matches the cached value but differs from the actual hardware frequency. Use driver->get_frequency() to read the real hardware frequency for the unchanged check, and sync devfreq->cur on match to keep the cache correct. Signed-off-by: guanyi3 <guanyi3@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| devfreq.c | ||
| devfreq_ondemand.c | ||
| devfreq_performance.c | ||
| devfreq_powersave.c | ||
| devfreq_procfs.c | ||
| devfreq_qos.c | ||
| Kconfig | ||
| Make.defs | ||