ipq806x: fix dedicated cpufreq driver
authorAnsuel Smith <ansuelsmth@gmail.com>
Thu, 20 May 2021 21:41:57 +0000 (23:41 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 30 Jun 2021 21:14:43 +0000 (23:14 +0200)
commit5e52f96714ee113b7703cb5a6c4cce1aeaec4373
tree932e7afd95102cb57bc85e214e1f58bb1677c197
parent014aac7944ab9c6d5f33f57491acea5698d77f3b
ipq806x: fix dedicated cpufreq driver

2 small fix for the dedicated cpufreq driver:
- Fix index wrongly used as the current cpu
- Exit early if a bad freq is detected. In the current state the freq
is applied anyway even with invalid state.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
target/linux/ipq806x/patches-5.10/098-1-cpufreq-add-Krait-dedicated-scaling-driver.patch
target/linux/ipq806x/patches-5.10/098-3-add-fab-scaling-support-with-cpufreq.patch
target/linux/ipq806x/patches-5.4/098-1-cpufreq-add-Krait-dedicated-scaling-driver.patch
target/linux/ipq806x/patches-5.4/098-3-add-fab-scaling-support-with-cpufreq.patch