]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Revert "cpufreq: brcmstb-avs-cpufreq: Fix initial command check"
authorColin Ian King <colin.i.king@gmail.com>
Tue, 29 Oct 2024 15:22:27 +0000 (15:22 +0000)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 30 Oct 2024 03:16:13 +0000 (08:46 +0530)
commit96b9764864893b472206a7a324037ee903acc815
treea9bcc249a5e442220aaa7beee4f4caef7ed66a61
parent00dd2b2869cf1fea18b6839f22c51f8823e50757
Revert "cpufreq: brcmstb-avs-cpufreq: Fix initial command check"

Currently the condition ((rc != -ENOTSUPP) || (rc != -EINVAL)) is always
true because rc cannot be equal to two different values at the same time,
so it must be not equal to at least one of them. Fix the original commit
that introduced the issue.

This reverts commit 22a26cc6a51ef73dcfeb64c50513903f6b2d53d8.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/brcmstb-avs-cpufreq.c